Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ann
 
Posts: n/a
Default Automatically copy selective sheets from one workbook to another

I have two workbooks one called monthly and the other called EOM.

The monthly workbook has 14 sheets (i.e. one for each month {e.g. Jan
Feb..}). One that has data is used in the 12 monthly sheets as a pick list.
The last sheet (sheet name charge) has month names that need to be invoiced
for (e.g. FEB MAR APRIL (in cells A1 A2 and A3).

Is there a way that a macro can be written that will do the following: -

First month specified, copy the whole spreadsheet;

Second and third months specified, copy from row 3 to the end.

Data should be copied to workbook EOM, sheet EOM. If sheet EOM exists, it
should be replaced. All the data that needs to be copied should be copied as
values (as there are formulas in the sheets) and if at all possible the
formatting in terms of column heights, widths and other cell characteristics
should be retained.

The copying to the EOM should only occur when the sheet charge is populated
with data in cells a1 through a3.

Finally I want sheet EOM sorted by column A, G and H.

Any help would be greatly appreciated.

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
copy / paste selective rows Kenny Kendrena via OfficeKB.com Excel Discussion (Misc queries) 5 February 7th 05 12:55 PM
Copy with link between sheets - all the formats dissapear?!? Kathrine Excel Discussion (Misc queries) 1 February 4th 05 03:45 PM
How do I create a formula in excel to automatically copy text fro. ijgolding Excel Discussion (Misc queries) 1 January 31st 05 12:37 PM
Copy comments to several sheets in a workbook? jen_l_333 Excel Worksheet Functions 1 January 7th 05 10:30 PM
getting data from 2 excel sheets automatically pinar Excel Worksheet Functions 0 November 9th 04 11:47 AM


All times are GMT +1. The time now is 10:04 AM.

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"