Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi! I am writing a macro for excel that generates new worksheets. I want to
name the worksheets so that all worksheets has one part of their name that is the same for all worksheets and I want to have one variable part. My erronous code now is: Set NewSheet = Worksheets.Add NewSheet.Name = "My worksheet" + x I want to have a counter for x but I do not know how to comine the String part ("My worksheet") with the value of the variabel so that the final name is e.g. My worksheet 14. Help please! -- I am very thankful for any fast assistance! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Naming new worksheets | Excel Discussion (Misc queries) | |||
Naming worksheets | Excel Programming | |||
Naming worksheets | Excel Programming | |||
Naming Worksheets in VBE | Excel Programming | |||
Naming Worksheets in VBE | Excel Programming |