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

    Question Finding superscript numbers and text of certain color


    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!!!

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

  2. #2
    You will need to check for the Unicode character equivalent...
    Last edited by jwoods; 2015-04-20 at 02:27.

  3. #3
    Super Moderator
    Join Date
    Jan 2001
    Melbourne, Victoria, Australia
    Thanked 249 Times in 231 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