Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Im hoping someone could show me how to code this. How do I copy a
worksheet x number of times? The user will have to enter then number in a cell and upon cell selection change, I want Excel to automatically copy the worksheet. Sheet1 = has cell "howMany" (where user would enter the number of worksheets needed) Sheet2 = is the worksheet to be copied multiple times Thanks a bunch Sharon |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
nvm. I figured it out.
|
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Sub askforsheetstocopy()
For i = 1 To Range("d1").Value Sheets("xxx").Copy after:=Sheets(Sheets.Count) Next i End Sub or just ask for input Sub askforsheetstocopy() For i = 1 To inputbox("how many sheets") Sheets("xxx").Copy after:=Sheets(Sheets.Count) Next i End Sub -- Don Guillett SalesAid Software wrote in message ups.com... Im hoping someone could show me how to code this. How do I copy a worksheet x number of times? The user will have to enter then number in a cell and upon cell selection change, I want Excel to automatically copy the worksheet. Sheet1 = has cell "howMany" (where user would enter the number of worksheets needed) Sheet2 = is the worksheet to be copied multiple times Thanks a bunch Sharon |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
macro to copy a value multiple times depending on value in adj | Excel Worksheet Functions | |||
how do i copy the same cell multiple times in excel. | Excel Discussion (Misc queries) | |||
I would like to count the # of times a value occurs in Col B base | Excel Worksheet Functions | |||
Copy from worksheet to another x times | Excel Discussion (Misc queries) | |||
hyperlink based on user's input | Excel Worksheet Functions |