Closed Thread
Results 1 to 3 of 3

vba code to search text in a word document header and footer

  1. #1
    Registered User
    Join Date
    04-15-2010
    Location
    India
    MS-Off Ver
    Excel 2003, Excel 2007, Excel 2010 and Excel 2013
    Posts
    22

    vba code to search text in a word document header and footer

    Hi,

    I have an excel sheet having some text in each row. i have to find these texts in a word document's header and footer if its there in header and footer it should be highlighted in excel sheet .My problem is how to find the text in header and footer of the word document through a vb macro??

    Can you please suggest a vba code for the above query.


    Thanks:

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    11,980

    Re: vba code to search text in a word document header and footer

    @Excel-o-ratoR:
    @nitin.srivastava:

    Why are your posts exactly the same, including punctuation errors?
    vba code to seacr text in header and footer of a word document.
    Hi,

    I have an excel sheet having some text in each row. i have to find these texts in a word document's header and footer if its there in header and footer it should be highlighted in excel sheet .My problem is how to find the text in header and footer of the word document through a vb macro??

    Can you please suggest a vba code for the above query.


    Thanks:
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,164

    Re: vba code to search text in a word document header and footer

    Thanks for the observation protonleah.

    @Excel-o-ratoR:
    @nitin.srivastava: As per forum rules, these are classified as duplicate threads even though they are created by 2 different users. I will close one thread now. You can continue in the other thread.

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

Closed Thread

Thread Information

Users Browsing this Thread

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

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