Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Is it possible

Just wonder if i could get a page to automatically put a page in a workbook
and create a command button to link to it.

let say

i save a page called hotel

i would like it added to a workbook and on sheet 1 i have a command button
link to it


and show the name on the button

Is this possible

Thanks in advance

Sorry about the cross post

Greg



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Is it possible

1 - Create a commnd button
2 - Add a hyperlink to it

"Greg" wrote:

Just wonder if i could get a page to automatically put a page in a workbook
and create a command button to link to it.

let say

i save a page called hotel

i would like it added to a workbook and on sheet 1 i have a command button
link to it


and show the name on the button

Is this possible

Thanks in advance

Sorry about the cross post

Greg




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Is it possible

worksheets("Page").copy After:=Workbooks("Book2.xls").Worksheets(3)

You can see how to add a commandbutton by turning on the macro recorder
while you do it manually.

You can see how to create event code for it at Chip Pearson's site
http://www.cpearson.com/excel/vbe.htm

--
Regards,
Tom Ogilvy



"Greg" wrote in message
...
Just wonder if i could get a page to automatically put a page in a

workbook
and create a command button to link to it.

let say

i save a page called hotel

i would like it added to a workbook and on sheet 1 i have a command button
link to it


and show the name on the button

Is this possible

Thanks in advance

Sorry about the cross post

Greg





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Is it possible

Thankyou for all the help again.


Greg


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



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