Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Combine Worksheets to One new Sheet

I have a workbook w/ many worksheets (all randomly named w/ wierd sheet
names). All of the worksheets have the same structure w/ the same header row
except they vary by number of rows. I need a macro that would create a new
workbook w/ only one sheet containing all the data from all the worksheets in
one spreadsheet. Basically it would have to go from sheet to sheet copying
the data and pasting to the new document (only grabbing the header from the
first sheet.)

Your help would be greatly appreciated.

Thank you in advance.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Combine Worksheets to One new Sheet

Hi NYSA-HD

Start here
http://www.rondebruin.nl/copy2.htm

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"NYSA-HD" wrote in message ...
I have a workbook w/ many worksheets (all randomly named w/ wierd sheet
names). All of the worksheets have the same structure w/ the same header row
except they vary by number of rows. I need a macro that would create a new
workbook w/ only one sheet containing all the data from all the worksheets in
one spreadsheet. Basically it would have to go from sheet to sheet copying
the data and pasting to the new document (only grabbing the header from the
first sheet.)

Your help would be greatly appreciated.

Thank you in advance.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Combine Worksheets to One new Sheet

Thank you - this did work but I first had to get over a 1004 runtime error.
Then I had a new issue because the amount of data exceeded the amount of rows
available in Excel XP. I have a new post out because I need to use a text
file now instead.

This was so helpful though - thank you so much!


"Ron de Bruin" wrote:

Hi NYSA-HD

Start here
http://www.rondebruin.nl/copy2.htm

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"NYSA-HD" wrote in message ...
I have a workbook w/ many worksheets (all randomly named w/ wierd sheet
names). All of the worksheets have the same structure w/ the same header row
except they vary by number of rows. I need a macro that would create a new
workbook w/ only one sheet containing all the data from all the worksheets in
one spreadsheet. Basically it would have to go from sheet to sheet copying
the data and pasting to the new document (only grabbing the header from the
first sheet.)

Your help would be greatly appreciated.

Thank you in advance.


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
How do I combine worksheets w/o enough rows to combine? Amanda W. Excel Worksheet Functions 3 June 9th 09 07:26 AM
how do I combine identicle worksheets into one sheet CM Excel Discussion (Misc queries) 1 September 14th 06 10:11 AM
In Excel combine tables from multiple worksheets in to one sheet? Pau Excel Worksheet Functions 1 June 25th 05 12:31 AM
how do you combine worksheets Frank Kabel Excel Programming 0 September 22nd 04 10:39 PM
Combine All Worksheets into one Yogi_Bear_79 Excel Programming 1 January 29th 04 05:39 PM


All times are GMT +1. The time now is 06:13 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"