Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: PMTom
  • Order by date
  1. PMTom

    Header issues using VBA to insert Word documents into a Word Template

    That took care of the error but the Header from the previous pages is still getting placed on the new page created by the section break where the copied text gets inserted.
  2. PMTom

    Header issues using VBA to insert Word documents into a Word Template

    It errors out on line [highlight #FCE94F].FormattedText =[/highlight] DocSrc.Range.FormattedText Compile Error states method or data member not found and highlights .FormattedText = I tried changing it to RngSel.FormattedText = DocSrc.Range.FormattedText but then I get an error "Cannot copy...
  3. PMTom

    Header issues using VBA to insert Word documents into a Word Template

    So the magic question is how do I unlink and delete headers/footers using vba?
  4. PMTom

    Header issues using VBA to insert Word documents into a Word Template

    Maybe I'm not explaining this clearly. I have a Word template(dotm) that users insert a Word document (docx) into that has headers. Once this first document is inserted the users place their cursor where they want the next document inserted then pick from several other Word documents to insert...
  5. PMTom

    Header issues using VBA to insert Word documents into a Word Template

    Thanks Paul. This seems to work except it is adding the header of the base document to the document that gets inserted. What do I need to do to keep this from happening?
  6. PMTom

    Header issues using VBA to insert Word documents into a Word Template

    The documents that get inserted have different headers so I do want them. I don't want the header from the previous inserted document to get added to the new inserted document that may have its own header or may not have one at all. They are all different.
  7. PMTom

    Header issues using VBA to insert Word documents into a Word Template

    I have the following VBA code in a Word Template to insert a document at the cursor position when someone selects a button on the Word Ribbon (In this case it would be a document named 04-10A.docx). The code does this with no issues. The inserted document has a header and footer. The error...
  8. PMTom

    Header issue using VBA to insert Word documents into a Word Template

    I have the following VBA code in a Word Template to insert a document at the cursor position when someone selects a button on the Word Ribbon (In this case it would be a document named 04-10A.docx). The code does this with no issues. The inserted document has a header and footer. The error...

Part and Inventory Search

Back
Top