+ Reply to Thread
Results 1 to 6 of 6

Find and replace in footer

  1. #1
    Forum Contributor
    Join Date
    01-09-2016
    Location
    USA,USA
    MS-Off Ver
    2016
    Posts
    1,192

    Find and replace in footer

    This isn't searching the footer. How can I do that?

    Please Login or Register  to view this content.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Find and replace in footer

    You cannot do "find & replace" on the header or footer. You have to code it from scratch. It should be safe to assume that your string can only occur once in the footer.

    Here is some code that I tested in my own file. I am assuming this is in a generic module and not a sheet module.

    Please Login or Register  to view this content.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Contributor
    Join Date
    01-09-2016
    Location
    USA,USA
    MS-Off Ver
    2016
    Posts
    1,192

    Re: Find and replace in footer

    So this is what I use, how does yours fit into the FaxNumber to find and replace, when I run it, it gives me a define error for the activesheet

    Please Login or Register  to view this content.

  4. #4
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: Find and replace in footer

    6StringJazzer's code is for Excel, not Word...

    Try:
    Please Login or Register  to view this content.
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Find and replace in footer

    Quote Originally Posted by macropod View Post
    6StringJazzer's code is for Excel, not Word...
    I'm sorry! I picked this up from the Unanswered Thread queue and completely missed that it was Word question.

  6. #6
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: Find and replace in footer

    Quote Originally Posted by 6StringJazzer View Post
    I'm sorry! I picked this up from the Unanswered Thread queue and completely missed that it was Word question.
    Easy-enough to do. I've done the same in the past...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Need macro to find and replace text in footer of multiple excel files
    By ToMeee in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 10-29-2015, 06:39 PM
  2. [SOLVED] Find and replace where contents a formula so can't be seen by Find and replace.
    By markDuffy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-26-2015, 02:24 PM
  3. Replies: 16
    Last Post: 12-02-2014, 03:38 PM
  4. Replies: 3
    Last Post: 11-25-2014, 06:08 AM
  5. Search and Replace Footer in word with excel macro?
    By frongi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-20-2013, 12:27 PM
  6. find in excel replace in word: find/replace text in text boxes and headers
    By dean.rogers in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-10-2012, 12:40 PM
  7. [SOLVED] Can the find/replace function be used for worksheet headers/footer
    By wz7y2k in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-21-2005, 02:06 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1