Results 1 to 10 of 12

Thread: Test BB Code Highlighting and Colors

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    Fuhrer, Vierte Reich DocAElstein's Avatar
    Join Date
    Aug 2014
    Posts
    9,316
    Rep Power
    10
    Test Burgandy

    Generic color name: Burgundy
    Colors that make up #8C001A
    RGB: 140, 0, 26 - HSL: 0.97, 1.00, 0.27

    Purple[COLOR="#800080"]Purple[/COLOR]
    Purple[COLOR=Purple]Purple[/COLOR]
    Maroon[COLOR="#800000"]Maroon[/COLOR]
    Maroon[COLOR=Maroon]Maroon[/COLOR]
    Burgundy[COLOR="#8C001A"]Burgundy[/COLOR]
    Windows10[color="#3E0000"]Windows10[/COLOR]
    color:#A82D00 $NFS




    HTML Code:
    <div class=WordSection1>
    
    <p class=MsoNormal><span lang=EN-GB style='font-size:9.0pt;line-height:115%;
    font-family:"Lucida Console";mso-bidi-font-family:"Lucida Console";color:#A82D00;
    mso-ansi-language:EN-GB;mso-fareast-language:DE'>$NFS</span><span lang=EN-GB
    style='font-size:9.0pt;line-height:115%;font-family:"Lucida Console";
    mso-bidi-font-family:"Lucida Console";mso-ansi-language:EN-GB;mso-fareast-language:
    DE'><span style='mso-spacerun:yes'>                             </span><span
    style='color:dimgray'>=</span> <span style='color:blue'>New-Object</span> <span
    class=SpellE><span style='color:blueviolet'>system.Windows.Forms.Button</span></span></span><span
    lang=EN-US style='mso-ansi-language:EN-US'><o:p></o:p></span></p>
    
    </div>
    Code:
    'Sub Makro9BBBurgundy()   '   '     https://excelfox.com/forum/showthread.php/2417-Test-BB-Code-Highlighting-and-Colors?p=16370#post16370
    '    With Selection
    '     .Font.Color = 1704076
    '     .Text = "[color=""#8C001A""] " & .Text & " [/color]"
    '     .Collapse Direction:=wdCollapseEnd
    '    End With
    'End Sub
    Sub Makro9BBBurgundy() '    Ctrl+Shift+B,G   '  https://eileenslounge.com/viewtopic.php?f=26&t=37808&p=292620#p292620
        Dim Text1 As String
        Dim Text2 As String
        Text1 = "[color=""#8C001A""] "
        Text2 = " [/color]"
        With Selection
            .InsertBefore Text:=Text1
            .InsertAfter Text:=Text2
            ActiveDocument.Range(Selection.Start, Selection.Start + Len(Text1)).Font.Size = 8
            ActiveDocument.Range(Selection.End - Len(Text2), Selection.End).Font.Size = 8
            .Font.Color = 1704076
            .Collapse Direction:=wdCollapseEnd
        End With
    End Sub
    Last edited by DocAElstein; 02-14-2022 at 04:51 PM.
    ….If you are my competitor, I will try all I can to beat you. But if I do, I will not belittle you. I will Salute you, because without you, I am nothing.
    If you are my enemy, we will try to kick the fucking shit out of you…..
    Winston Churchill, 1939
    Save your Forum..._
    _...KILL A MODERATOR!!

Similar Threads

  1. Replies: 12
    Last Post: 09-22-2023, 03:53 PM
  2. HTML Code Test --post8798
    By DocAElstein in forum Test Area
    Replies: 19
    Last Post: 06-17-2018, 03:02 PM
  3. test BB Code
    By DocAElstein in forum Test Area
    Replies: 39
    Last Post: 05-23-2018, 02:47 PM
  4. Replies: 5
    Last Post: 12-11-2015, 06:42 PM
  5. CODE TAG Code Test
    By DocAElstein in forum Test Area
    Replies: 5
    Last Post: 09-16-2015, 05:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •