Home |
Search |
Today's Posts |
#8
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You can try the code below. i originally wrote this code to rename the sheets
to predetermined text. I think it should work with ActiveSheet.Name = intI. If it doesn't, just use text strings. Dim numTab = number of copies to make Dim intI = 1 Do While intI < numTab Sheets("tab to copy").Select Sheets("tab to copy").Copy After:=Sheets(n + intI-1) ActiveSheet.Name = intI intI = intI + 1 Loop "JohnUK" wrote: Hi, I am after a short piece of code that can copy a sheet/tab, amount to be determined by a number in a given cell, and rename the tabs. For example: If the page that I want copied had the number 50 in Cell A1, I want the tab to be copied 50 times and numbered sequentially (1 to 50) Is this possible Many thanks for help John |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do you copy a sheet times 50 | Excel Discussion (Misc queries) | |||
Copy once and paste five times | Excel Programming | |||
how do i copy down x number of times | Excel Worksheet Functions | |||
Copy a formula down a set number of times | Excel Worksheet Functions | |||
Copy from worksheet to another x times | Excel Discussion (Misc queries) |