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: 2
Default Need help with VBA - complicated copy and paste

I have to admit that I am totally out of my depth with this one. I'm
working with Excel 2007. I have worksheet (Master Sheet) that
contains a list of data; depending on the input the number of rows can
be 15 or 500. There are a total of 19 columns, but columns A and B
are key. Column A contains dates and Column B is text. What I need
is to automate the following:

From the "Master Sheet", look at Columns A and B. For every unique
combination, copy those rows into a new worksheet that is named
"Column A, Column B". If that new combination worksheet already
exists, then delete the exsting worksheet and insert a new one.

For example, Column A contains a list of dates and Column B is a list
of place names. I need to create a new worksheet that takes from the
"MasterSheet", all rows that are January 20 and Seattle in columns A &
B and rename the new sheet "20 January Seattle" Depending on how many
rows of data, this could create 5 to 50 new worksheets.

I've been successful in copying & renaming one worksheet, but I can't
conditionally copy the data and I can't seem to copy multiple
sheets.

Any and all help is appreciated.
 
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
Offset,Match,Copy, Paste Special - A Complicated Task - Help Pleas Mark Dullingham Excel Programming 2 March 8th 07 11:33 PM
complicated copy/paste/delete Chris Excel Programming 0 October 21st 06 05:18 PM
Copy and paste has got complicated. Help please RaY Excel Discussion (Misc queries) 1 September 9th 06 04:26 PM
Excel cut/Paste Problem: Year changes after data is copy and paste Asif Excel Discussion (Misc queries) 2 December 9th 05 05:16 PM
Copy and Paste macro needs to paste to a changing cell reference loulou Excel Programming 0 February 24th 05 10:29 AM


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