LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 72
Default How to move data from many spreadsheets to one

I have 73 workbooks that I want to copy data from one of the
worksheets and put it all into a single workbook (not one of the 73)
which will then tally the results. Before I can even start to write
code, I have a problem I'm not sure how to deal with. If I write a For
Each loop to open each workbook in the folder in turn, if the tally
workbook is in the same directory, it's going to try to open that one
and, I imagine, will hang the macro because that workbook
(ThisWorkbook) will already be open. So does the tally workbook have
to be in a different directory? Or, can I test each workbook as it is
selected , before it is opened) to see if it's ThisWorkbook and have
it skip ThisWorkbook and go on the the next? Any suggestions as to the
best way to handle this kind of situation?
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why can't I move around spreadsheets with the up and down arrows? Aussie girl Excel Discussion (Misc queries) 1 June 8th 07 09:34 PM
Match and Move Data in 2 Spreadsheets Steve T Excel Discussion (Misc queries) 1 April 20th 07 04:36 AM
How can I move spreadsheets to contain same format and spacing pstein69 Excel Discussion (Misc queries) 2 January 10th 07 05:11 AM
How to move data from spreadsheets to spreadsheet? saltaway Excel Discussion (Misc queries) 2 September 11th 06 06:27 PM
Can i move scanned jpeg text to excel spreadsheets etpconscious Excel Worksheet Functions 4 December 19th 05 12:14 AM


All times are GMT +1. The time now is 07:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"