Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default add a sheet button

Thanks Don,

I tried this one and get a runtime error 9, subscript out of range.
What did I do wrong?

--Jim

On Dec 2, 9:18 am, "Don Guillett" wrote:
Please TOP post here
Sub copysheet()
Sheets("Template").Copy after:=Sheets(Sheets.Count)
ActiveSheet.Name = "Sheet" & Sheets.Count
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software
"Spike9458" wrote in message

...



On Dec 1, 5:33 pm, "Don Guillett" wrote:
Sub copysheet()
Sheets("Template").Copy after:=Sheets(Sheets.Count)
End Sub


--
Don Guillett
Microsoft MVP Excel
SalesAid Software
"vdmbqb" wrote
in message


...


I have a two page workbook. Page 1 is instructions for the information
expected on page two. Page 2 is called Customer Info.


I would like to have a button on page 1 that I could simply click on
that
would add another Customer Info page with each click.
--
bob- Hide quoted text -


- Show quoted text -


Hi Don,


How would you do it so the new sheet will be named Sheet3 than
'Sheet1 (2)?


--Jim- Hide quoted text -


- Show quoted text -


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default add a sheet button

You are right. But when I used the first version it seemed to work
just fine, prompting my question about sequential sheet numbering.
Hmmm anyway, it's a pretty cool macro that I can get a lot of use out
of.

Thanks,

--Jim

On Dec 2, 11:25 am, "Don Guillett" wrote:
Perhaps you do not have a sheet named

Template

--
Don Guillett
Microsoft MVP Excel
SalesAid Software
"Spike9458" wrote in message

...



Thanks Don,


I tried this one and get a runtime error 9, subscript out of range.
What did I do wrong?


--Jim


On Dec 2, 9:18 am, "Don Guillett" wrote:
Please TOP post here
Sub copysheet()
Sheets("Template").Copy after:=Sheets(Sheets.Count)
ActiveSheet.Name = "Sheet" & Sheets.Count
End Sub


--
Don Guillett
Microsoft MVP Excel
SalesAid Software
"Spike9458" wrote in
message


...


On Dec 1, 5:33 pm, "Don Guillett" wrote:
Sub copysheet()
Sheets("Template").Copy after:=Sheets(Sheets.Count)
End Sub


--
Don Guillett
Microsoft MVP Excel
SalesAid Software
"vdmbqb"
wrote
in message


...


I have a two page workbook. Page 1 is instructions for the
information
expected on page two. Page 2 is called Customer Info.


I would like to have a button on page 1 that I could simply click on
that
would add another Customer Info page with each click.
--
bob- Hide quoted text -


- Show quoted text -


Hi Don,


How would you do it so the new sheet will be named Sheet3 than
'Sheet1 (2)?


--Jim- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -


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
go to sheet button busyatwork Excel Discussion (Misc queries) 1 October 25th 07 08:19 PM
HOW CAN I ADD BUTTON ON SHEET AND LET MARCO RUN? orvar Excel Discussion (Misc queries) 0 October 24th 07 10:29 AM
how to make search button in the first sheet ghost Excel Discussion (Misc queries) 0 July 28th 07 07:20 AM
Unprotect sheet button!?? Neo1 Excel Worksheet Functions 2 March 29th 06 03:46 PM
How do I create a command button to jump from sheet to sheet in a. Darlenew Excel Worksheet Functions 3 March 22nd 05 10:36 PM


All times are GMT +1. The time now is 10:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"