Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Selecting tabs - tab names given in a list

Just to clarify a little.... the contract numbers in the list correspond
exactly with the tab names.

"Marc T" wrote:

Hi,

I'm struggling to get my head aorund how to do this, so sorry if it's a
little garbled!

I have the following macro to copy the contents of a tab in a large
worksheet to a new one (as values):

Sub DumpToFile()

Dim c As String
c = Worksheets("CONTROLS").Range("C4").Value
Sheets(c).Select
Sheets(c).Copy
Cells.Select
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone,
SkipBlanks _
:=False, Transpose:=False

End Sub


What I have is a list of contract numbers, and I want to put a checkbox next
to each... and have the macro do the routine above for each contract that has
a checkmark beside...

Can this be done?

Many thanks!
Marc

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
How do I create a list (Word) of the names on Excel worksheet tabs PT[_2_] Excel Worksheet Functions 3 February 23rd 07 05:24 PM
Response to "Can I get a list of names of all the tabs..." Bob Umlas, Excel MVP Excel Discussion (Misc queries) 0 January 31st 07 09:33 PM
Can I print a list of names of all the tabs in xls on one page? sg Excel Discussion (Misc queries) 0 January 31st 07 08:13 PM
Selecting range in list of range names depending on a cell informa Courreges Excel Discussion (Misc queries) 2 June 19th 06 10:59 AM
Selecting ALL names when using Insert/Names/Apply Mike Excel Worksheet Functions 3 April 23rd 05 05:20 PM


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