Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1
Default Buttons and macros


I have an excel file with about 20 sheets in it. To save time trying to
find the correct sheet needed I have a front sheet with macros to take
the user to the sheet they need to use. What I would like to know is
this? Can I put buttons on the page so that users can hit the relevant
button to run the relevant macro? If it is possible how do I do it?

I appreciate this is probably a basic thing but I am relatively
inexperienced.

Any help would be appreciated.




--
Richardisa1
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 527
Default Buttons and macros

"Richardisa1" wrote:

I have an excel file with about 20 sheets in it. To save time trying to
find the correct sheet needed I have a front sheet with macros to take
the user to the sheet they need to use. What I would like to know is
this? Can I put buttons on the page so that users can hit the relevant
button to run the relevant macro? If it is possible how do I do it?


Richard

You can use Form Buttons (Insert, Toolbars, forms) or draw a textbox from
the drawing tool icons. On the form buttons you will probably be prompted to
assign a macro. With the text boxes right-click and coose Assign Macro.

You could modify you macro to allow the user to select the sheet from a
single macro

Sub ChooseSheet()
sht = inputbox("Enter the sheet No")
worksheets(sh).select
end sub

Not checked

Peter
  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1
Default Buttons and macros


Brilliant. I guessed there was a solution. I've emailed it to my work
email box so I can use it on Monday. Thanks very much.




--
Richardisa1
  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 527
Default Buttons and macros

"Richardisa1" wrote:

Brilliant. I guessed there was a solution. I've emailed it to my work
email box so I can use it on Monday. Thanks very much.


Richard

Thanks for the feedback

Peter
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
Macros AND Buttons [email protected] Excel Worksheet Functions 3 August 9th 06 09:03 AM
Macros And Buttons [email protected] Excel Discussion (Misc queries) 4 August 8th 06 10:37 PM
Assigning Macros to Buttons Christine Excel Discussion (Misc queries) 1 May 11th 06 09:42 PM
Buttons and macros? Joe Excel Discussion (Misc queries) 3 October 7th 05 02:34 AM
buttons & macros Jock W Excel Worksheet Functions 4 April 30th 05 07:35 AM


All times are GMT +1. The time now is 09:27 PM.

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"