Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default importing entire workbooks

I am unable to find a tool to import an entire workbook file into a master
file. I assume that I will have to write a macro to Select All on the
worksheets in the source and somehow copy the worksheets and paste them into
the master.

I can easily write my own macro to move the tables from one file to the
master, but my charts will get messed up in the move. I was hoping to just
find a macro to move my chart tabs and data tabs in one big swoop. Any
suggestions? am I missing something obvious. worksheet consolodation doesn't
seem to apply.

I have 120 files that I need to squish into 5 or 8 master fills. Each file
has 4 worksheets, 2 data, 2 charts.

Thanks for the suggestions.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default importing entire workbooks

I think I figure it out, I just need to loop this with each filename.

Sub mvall()
'
' mvall Macro
' Macro recorded 8/7/2006 by ggggg
'
'current = ActiveWorkbook.Name
Windows([current]).Activate
Worksheets.Select
Worksheets.Move Befo=Workbooks("masterc1.xls"). _
Sheets(2)
Charts.Select
Charts.Move Befo=Workbooks("masterc1.xls"). _
Sheets(2)

End Sub

"fugazi48" wrote:

I am unable to find a tool to import an entire workbook file into a master
file. I assume that I will have to write a macro to Select All on the
worksheets in the source and somehow copy the worksheets and paste them into
the master.

I can easily write my own macro to move the tables from one file to the
master, but my charts will get messed up in the move. I was hoping to just
find a macro to move my chart tabs and data tabs in one big swoop. Any
suggestions? am I missing something obvious. worksheet consolodation doesn't
seem to apply.

I have 120 files that I need to squish into 5 or 8 master fills. Each file
has 4 worksheets, 2 data, 2 charts.

Thanks for the suggestions.

Reply
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
importing data from other workbooks Mark Excel Discussion (Misc queries) 3 April 18th 07 01:53 PM
importing csv files- entire record goes into each column Bill[_3_] Excel Discussion (Misc queries) 7 March 28th 07 12:57 AM
Importing Modules From Other Workbooks Jim Jackson Excel Programming 2 July 14th 06 07:55 PM
Importing information from 2 workbooks into a 3rd one Susanneec Links and Linking in Excel 2 April 29th 06 12:57 AM
Importing information from 2 workbooks into a 3rd one Susanneec Excel Discussion (Misc queries) 0 April 20th 06 10:50 PM


All times are GMT +1. The time now is 10:45 PM.

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

About Us

"It's about Microsoft Excel"