Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default Creating/Naming New Worksheets Based on Select Cells in Master Worksheet

I have a worksheet which lists each officer and the accounts they manage.
Thanks to Adilson Soledade I was able to create worksheets and name them
according to cells created from filtering the unique values of the IO
column which contains the officer names on the main worksheet.

Sub CreateWorksheets()
Dim i As Integer
Dim WSheet As Worksheet

Set WSheet = ActiveSheet
For i = 4068 To 4106
Worksheets.Add After:=Sheets(ThisWorkbook.Sheets.Count)
ActiveSheet.Name = WSheet.Cells(i, 1)
Next i
WSheet.Select
End Sub

However, I've learned that this is only part of the project. I have now
been told that each worksheet created for each officer should list only
their accounts. Is there a macro for this? If yes, how do I get my hands
on it. Thanks!!

--
Message posted using http://www.talkaboutsoftware.com/gro...eet.functions/
More information at http://www.talkaboutsoftware.com/faq.html

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,123
Default Creating/Naming New Worksheets Based on Select Cells in Master Worksheet

Hi Lilbit

Maybe this page will help you
http://www.rondebruin.nl/copy5.htm#sheet

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Lilbit" wrote in message lkaboutsoftware.com...
I have a worksheet which lists each officer and the accounts they manage.
Thanks to Adilson Soledade I was able to create worksheets and name them
according to cells created from filtering the unique values of the IO
column which contains the officer names on the main worksheet.

Sub CreateWorksheets()
Dim i As Integer
Dim WSheet As Worksheet

Set WSheet = ActiveSheet
For i = 4068 To 4106
Worksheets.Add After:=Sheets(ThisWorkbook.Sheets.Count)
ActiveSheet.Name = WSheet.Cells(i, 1)
Next i
WSheet.Select
End Sub

However, I've learned that this is only part of the project. I have now
been told that each worksheet created for each officer should list only
their accounts. Is there a macro for this? If yes, how do I get my hands
on it. Thanks!!

--
Message posted using http://www.talkaboutsoftware.com/gro...eet.functions/
More information at http://www.talkaboutsoftware.com/faq.html

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default Creating/Naming New Worksheets Based on Select Cells in Mast

Thank you! Thank you!! Thank you!!!

--
Message posted using http://www.talkaboutsoftware.com/gro...eet.functions/
More information at http://www.talkaboutsoftware.com/faq.html

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
Updating worksheets from master worksheet based on column value NBROWN Excel Worksheet Functions 5 June 10th 08 03:49 PM
Creating a master sheet referenced to multiple worksheets John Excel Discussion (Misc queries) 0 November 2nd 06 03:31 PM
Creating a master worksheet lrobin65 Excel Worksheet Functions 1 February 27th 06 03:22 PM
Populate worksheets based on a master sheet brownsatan Excel Worksheet Functions 1 February 6th 06 09:34 PM
Create a master worksheet based on 2 different worksheets Kristina Excel Worksheet Functions 0 August 23rd 05 06:41 PM


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