Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I use syntax to split my Master worksheet into several worksheets in the same
workbook but now I need to be able to create separate workbooks with only one worksheet information instead of separate worksheets. How can I modify this syntax and also to be able to name my workbooks acording to the name I have in column 6. I will appreciate very much your advice dear experts. Sub SplitData() mycount = 0 myrow = 0 Do mycount = mycount + 1 oldrow = myrow + 1 Sheets("Master").Select Do myrow = myrow + 1 Loop Until Sheets("Master").Range("A" & myrow) = "" Sheets.Add ActiveSheet.Name = "Data" & mycount Sheets("Master").Select Rows(oldrow & ":" & myrow).Select Selection.Copy Sheets("Data" & mycount).Select Range("A1").Select ActiveSheet.Paste Loop Until Sheets("Master").Range("A" & myrow + 1) = "" End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to combine data from 2 separate workbooks onto 1 worksheet | Excel Worksheet Functions | |||
TOUGH:split file into separate workbooks (single row, plus group m | Excel Programming | |||
Split 9 weeks of data on a worksheet into 9 separate worksheets | Excel Programming | |||
how do i split a cell that contains dd/mm/yy into a 3 separate cel | Excel Discussion (Misc queries) | |||
how do I get separate workbooks in separate windows | Excel Discussion (Misc queries) |