Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

VBA for MS Word

This is a discussion on VBA for MS Word within the General Excel Discussion & Other Questions forums, part of the Question Forums category; Did you check the 'use wildacrds' option?...

  1. #11
    Board Regular
    Join Date
    Aug 2007
    Location
    Canberra, Australia
    Posts
    833

    Default Re: VBA for MS Word

    Did you check the 'use wildacrds' option?
    Cheers
    Paul Edstein
    [MS MVP - Word]

  2. #12
    Board Regular
    Join Date
    Aug 2007
    Location
    Canberra, Australia
    Posts
    833

    Default Re: VBA for MS Word

    Cross-posted at: http://www.msofficeforums.com/word/1...place-vba.html
    For cross-posting etiquette, please read: http://www.excelguru.ca/content.php?184
    Cheers
    Paul Edstein
    [MS MVP - Word]

  3. #13
    New Member
    Join Date
    Apr 2012
    Posts
    12

    Default Re: VBA for MS Word

    Yeah, I refer to the guide here and just hit Ctrl F

    Inputted <[0-9]{1,4}

    You can look at the screen shot here.

    http://tinypic.com/r/e7c8q9/6

    I suspect there's is a special character at the end of the page number.

  4. #14
    Board Regular
    Join Date
    Aug 2007
    Location
    Canberra, Australia
    Posts
    833

    Default Re: VBA for MS Word

    Without placing too fine a point on it:
    1. Your find expression is not what I posted.
    2. There is no evidence from your pic that you're doing anything more than a Find (Ctrl-F is for Find, Ctrl-H is for Find&Replace) - there is no 'Replace' expression visible; and
    3. There is no evidence from your pic that you've set the 'use wildcards' option.

    You can't realistically expect to get a meaningful result if you ignore the advice you've been given.
    Cheers
    Paul Edstein
    [MS MVP - Word]

  5. #15
    New Member
    Join Date
    Apr 2012
    Posts
    12

    Default Re: VBA for MS Word

    Macropod,

    Thanks for pointing out. Your Find/Replace works !

    I just clicked on the "Use Wildcards". Silly me, I coded the expression and found nothing. Not sure what's wrong. It is just the option settings. No wonder, I input all the regular expression and it just don't work.

    Sorry, I am just a newbie in MS Word and I appreciate your feedback a lot.
    I learn a valuable lesson here. Thanks again.

  6. #16
    New Member
    Join Date
    Apr 2012
    Posts
    12

    Default Re: VBA for MS Word

    Let me add another post here so that it can be useful to others as well ..

    Here are the interpretation for ^13 and ^p.

    Code:
    http://support.microsoft.com/kb/214204
    I started the wrong direction, but now, I'll grab a copy of Microsoft Words to explore in details. I don't want to remove the line number one by one for over 300 pages.

Page 2 of 2 FirstFirst 12

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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


DMCA.com