LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
Amy Amy is offline
external usenet poster
 
Posts: 165
Default Streamlining repetitive report

I have a workbook that has 9 sheets named "Week 1", "Week2"..."Week 9". I
need a macro to do several things in the following order

1. Copy all data on each week to the previous numbered week. i.e. Week 9
data replaces Week 8 data, Week 8 replaces Week 7...Week 1 data is replaced
by Week 2 data. I usually just select the whole sheet and do a copy/paste
values to the previous sheet.

2. A new sheet of data is imported from another file into the Week 9 sheet.
The file is named "Data_9.xls", "Sheet1" should replace the data in Week 9.

3. Every spreadsheet, Week 1:Week 9 needs a column of data added in column
AJ. The header is "Week". I need this column to fill (in every cell on a
line with data) with the sheet name. i.e. on the sheet named "Week 1" cell
AJ1 would be "Week" and AJ2:AJ[END] would be "Week 1"

4. Every spreadsheet, Week 1:Week 9 needs a column of data added in column
AK. The header is "Sector". The formula for each cell is =trim(A2)&"
"&trim(B2) relative to the row it's on. Again this would autofill all cells
as long as there is data.

Can anyone help? Got some help with another spreadsheet here and saved a ton
of time. I love macros! Working on learning to write them myself but in the
mean time this is so helpful!! Thank you so much in advance!!!

Amy
 
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
Streamlining my code Novice Lee Excel Programming 1 August 1st 08 06:33 AM
Streamlining sort A.R. Hunt Excel Discussion (Misc queries) 6 February 25th 08 05:10 PM
streamlining mttmwsn Excel Discussion (Misc queries) 9 October 29th 07 02:16 PM
looking for repetitive information in a report edluver Excel Programming 1 April 10th 07 11:00 AM
Streamlining Code Camel Excel Programming 3 October 10th 06 07:57 AM


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