Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Nov 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation [Macro] Change the color on several specific text on a Word document accordingly

    Hello
    I want to write a small Macro program to change the color of several text on a word document accordingly. here is the condition:
    Apr 9 2007(Monday) is the starting date. the Text "ABC" on the first row of this Word document will be in Blue color. (note: first row contains other text too)
    On next week monday, which is Apr 16, Text "ABC" should in Black color
    On Apr 23, Text "ABC" should be in red Color
    On Apr 30, Text "ABC" should be in Green color
    On May 7, Text "ABC" should be in Blue color again... and this process keep looping.
    I don't have problem on the strategy/coding. But I have problem on identifing this specific "ABC" text in coding. Are there anyway to define this "ABC" as an variable in the code so I can change this specific "ABC" text color accordingly?

    Thanks

    Cheer

  • #2
    New to the CF scene
    Join Date
    Nov 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Load Macro while open this word document

    P.S. I also hope this Macro can be loaded while open this Word document

    Please help


  •  

    Posting Permissions

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