Leykis101 Posted February 21, 2008 Share Posted February 21, 2008 I have a program which generates a table in a word document based on my input to the program. I have 2 documents, a header.doc and a footer.doc. I need to do the following. 1) Open header.doc 2) Select All contents 3) Copy Selection 4) Paste in new document 5) Generate Table 6) Open footer.doc 7) Select All contents 8) Copy Selection 9) Paste in new document I currently have steps 1,5,6 working. I know how to copy and paste, so 3,4,8,9 should not be a problem. 2 and 7 are where my issue lies. Please help!! Link to comment Share on other sites More sharing options...
GEOSoft Posted February 21, 2008 Share Posted February 21, 2008 Have you looked at Send("^a") ? George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
Leykis101 Posted February 21, 2008 Author Share Posted February 21, 2008 Wow I can't believe I didn't think of that. So Simple, yet effective. If anybody has a programmatic way to do it, please feel free to respond with that method as well. Thanks GEOSoft!!I have a program which generates a table in a word document based on my input to the program. I have 2 documents, a header.doc and a footer.doc. I need to do the following.1) Open header.doc2) Select All contents3) Copy Selection4) Paste in new document5) Generate Table6) Open footer.doc7) Select All contents8) Copy Selection9) Paste in new documentI currently have steps 1,5,6 working. I know how to copy and paste, so 3,4,8,9 should not be a problem. 2 and 7 are where my issue lies. Please help!! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now