Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I would like to create a macro that will automatically create a worksheet
based on name. For example, if I have a file of sales data by salesrep, how can I create an individual worksheet for each sales rep without copying and pasting the data? Thanks. -- Bob |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
See this page Bob
http://www.rondebruin.nl/copy5.htm -- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "Bob" wrote in message ... I would like to create a macro that will automatically create a worksheet based on name. For example, if I have a file of sales data by salesrep, how can I create an individual worksheet for each sales rep without copying and pasting the data? Thanks. -- Bob |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Sub addshets()
For Each c In Range("a2:a5") On Error Resume Next Sheets.Add after:=Sheets(Sheets.Count): ActiveSheet.Name = c Next c End Sub -- Don Guillett SalesAid Software "Bob" wrote in message ... I would like to create a macro that will automatically create a worksheet based on name. For example, if I have a file of sales data by salesrep, how can I create an individual worksheet for each sales rep without copying and pasting the data? Thanks. -- Bob |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Creating a summary sheet from data across multiple worksheets | Excel Discussion (Misc queries) | |||
Creating a Macro Button to Extract Data | New Users to Excel | |||
Creating a Macro Button to Extract Data | New Users to Excel | |||
Creating a macro to save only partial data | Excel Discussion (Misc queries) | |||
Creating macro to lookup data | Excel Discussion (Misc queries) |