This isn't searching the footer. How can I do that?
Please Login or Register to view this content.
This isn't searching the footer. How can I do that?
Please Login or Register to view this content.
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]
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.
6StringJazzer's code is for Excel, not Word...
Try:
Please Login or Register to view this content.
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks