Hi, am having issues importing worksheets from another workbook. Can anyone help, please?
![]()
Please Login or Register to view this content.
Hi, am having issues importing worksheets from another workbook. Can anyone help, please?
![]()
Please Login or Register to view this content.
Last edited by teylyn; 08-09-2010 at 02:20 AM. Reason: changed quote to code tags
Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here
What issues are you having, VBQuery ?
I acknowledge your effort, but next time, please use [code]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/code], not quote tags.
You haven't said which line is causing the error, so all we can say is that a sheet name, workbook name or window caption is incorrect in your code.
Everyone who confuses correlation and causation ends up dead.
Sorry, here is the line causing the error.
Sheets(Array("PlacementConfirmation", "Invoice", "Certificate", "WitnessChecklist" _
, "ClaimForm", "Affidavit", "Terms", "BrokerList")).Copy Before:=Workbooks( _
"Schedule Hole-in-One.xltm").Sheets(2)
Either one of those sheet names is wrong, or the Schedule template file name is wrong, or you don't have two sheets in your template file.
Where is the code located? (specifically, which code module in which workbook?)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks