Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Apr 2015
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Finding superscript numbers and text of certain color

    Hi!

    I want to find text like "Ref. 43", i.e., "Ref." is in online and the numbers are in superscript. I can find "Ref. " with any number using wildcards, but don't know how to find that numbers are in superscript! (WORD VBA)

    In addition, I want to find text in pink colour and make it normal (color: auto), using word macro.

    Can anybody help me?

    Thanks in advance!!!

    Regards
    R. Alexandar
    Last edited by AlexandarR; 2015-04-20 at 01:53.

  2. #2
    jwoods
    Guest
    You will need to check for the Unicode character equivalent...

    http://www.fileformat.info/info/unicode/index.htm
    Last edited by jwoods; 2015-04-20 at 03:27.

  3. #3
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,852
    Thanks
    4
    Thanked 259 Times in 239 Posts
    You will need to supply a sample document that demonstrates these.

    The finding of Ref. followed by superscript numbers may require a multi-stage process or a macro. For instance, you could search for superscript and add something unique after it and then do a search for the 'Ref. ##uniquechar' in order to find that which you seek. Do you want to code this or do it with search and replace through the GUI?

    You can search for a colour but you need to specify exactly that colour in RGB. It only needs to be off by a tiny amount to not be found.
    Andrew Lockton, Chrysalis Design, Melbourne Australia

Tags for this Thread

Posting Permissions

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