Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Selecting sheet

I have a file with 1 Master sheet (Information of 35 Sales Fields) 35 Sheets
(1 for every single field), every week we have to send a copy of every field
to the correspondent manager.
My purpose is to automate this task as follow:
Select the sheet (Field) and Uusing this macro (a button open the user form)
:
Private Sub UserForm_Activate()
With ActiveWorkbook
For I = 1 To .Sheets.Count
ComboBox1.AddItem .Sheets.Item(I).Name
Next
End With
End Sub
This macro only select the sheet and keeps the form open, I need to continue
to copy the sheet to a new file then get the user form closed.

Could somebody give me a hand
..

Thanks in advance


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
Selecting rows to another sheet Muskrat24 Excel Worksheet Functions 2 June 23rd 09 05:04 PM
Selecting sheet with VB RobN[_2_] Excel Discussion (Misc queries) 14 May 23rd 08 01:36 AM
Selecting Last Sheet Bonbon Excel Worksheet Functions 17 February 22nd 06 04:16 PM
Selecting a sheet from a drop down box Caveman Excel Discussion (Misc queries) 6 February 18th 06 11:09 PM
Selecting sheet after Userform Denny Behnfeldt Excel Programming 5 February 18th 04 03:41 AM


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