Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
e e is offline
external usenet poster
 
Posts: 18
Default Macro button

A simple question, but I have never succesfully written macros before.
I have written two simple macros, one to filter for a value, and one to
remove the filter. I want to put two buttons on the top of the spreadsheet
which users can click to run the macro. Please can you advise.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 896
Default Macro button

Excel 2003

View-Toolbars-Forms

insert a button form on the sheet

then right click on it-Assign Macro-select relevant macro to bu run
by this button


On 14 Sty, 13:43, E wrote:
A simple question, but I have never succesfully written macros before.
I have written two simple macros, one to filter for a value, and one to
remove the filter. I want to put two buttons on the top of the spreadsheet
which users can click to run the macro. Please can you advise.


  #3   Report Post  
Posted to microsoft.public.excel.programming
e e is offline
external usenet poster
 
Posts: 18
Default Macro button

I use Office 2007 - does this make a difference (before I start)?

"Jarek Kujawa" wrote:

Excel 2003

View-Toolbars-Forms

insert a button form on the sheet

then right click on it-Assign Macro-select relevant macro to bu run
by this button


On 14 Sty, 13:43, E wrote:
A simple question, but I have never succesfully written macros before.
I have written two simple macros, one to filter for a value, and one to
remove the filter. I want to put two buttons on the top of the spreadsheet
which users can click to run the macro. Please can you advise.



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 896
Default Macro button

i'm in my office - I use excel 2003 here

there shouldn't be a big difference, you would just need to look for
Toolbars/Forms on the ribbon in excel 2007


On 14 Sty, 14:02, E wrote:
I use Office 2007 - does this make a difference (before I start)?



"Jarek Kujawa" wrote:
Excel 2003


View-Toolbars-Forms


insert a button form on the sheet


then right click on it-Assign Macro-select relevant macro to bu run
by this button


On 14 Sty, 13:43, E wrote:
A simple question, but I have never succesfully written macros before..
I have written two simple macros, one to filter for a value, and one to
remove the filter. I want to put two buttons on the top of the spreadsheet
which users can click to run the macro. Please can you advise.- Ukryj cytowany tekst -


- Poka¿ cytowany tekst -


  #5   Report Post  
Posted to microsoft.public.excel.programming
e e is offline
external usenet poster
 
Posts: 18
Default Macro button

I've done it! I had to look on the Help menu but I found how to do it. Many
thanks.

"Jarek Kujawa" wrote:

i'm in my office - I use excel 2003 here

there shouldn't be a big difference, you would just need to look for
Toolbars/Forms on the ribbon in excel 2007


On 14 Sty, 14:02, E wrote:
I use Office 2007 - does this make a difference (before I start)?



"Jarek Kujawa" wrote:
Excel 2003


View-Toolbars-Forms


insert a button form on the sheet


then right click on it-Assign Macro-select relevant macro to bu run
by this button


On 14 Sty, 13:43, E wrote:
A simple question, but I have never succesfully written macros before..
I have written two simple macros, one to filter for a value, and one to
remove the filter. I want to put two buttons on the top of the spreadsheet
which users can click to run the macro. Please can you advise.- Ukryj cytowany tekst -


- Pokaż cytowany tekst -





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Macro button

2007 allows inserting Form controls and Active X controls. At a very basic
level, the form controls can be assigned a macro where as the Active X
controls require their own sub-routine. Each type also has differing
properties which can be found on the web.

"E" wrote:

I've done it! I had to look on the Help menu but I found how to do it. Many
thanks.

"Jarek Kujawa" wrote:

i'm in my office - I use excel 2003 here

there shouldn't be a big difference, you would just need to look for
Toolbars/Forms on the ribbon in excel 2007


On 14 Sty, 14:02, E wrote:
I use Office 2007 - does this make a difference (before I start)?



"Jarek Kujawa" wrote:
Excel 2003

View-Toolbars-Forms

insert a button form on the sheet

then right click on it-Assign Macro-select relevant macro to bu run
by this button

On 14 Sty, 13:43, E wrote:
A simple question, but I have never succesfully written macros before..
I have written two simple macros, one to filter for a value, and one to
remove the filter. I want to put two buttons on the top of the spreadsheet
which users can click to run the macro. Please can you advise.- Ukryj cytowany tekst -

- Pokaż cytowany tekst -



  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 896
Default Macro button

welcome
thks for the feedback
;-)

On 14 Sty, 14:42, E wrote:
I've done it! I had to look on the Help menu but I found how to do it. Many
thanks.

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
Use Macro To Change Which Macro Assigned To Command Button CVinje Excel Discussion (Misc queries) 0 May 25th 10 09:55 PM
Can't select macro button after other button is pressed C. Campbell Excel Programming 1 November 30th 04 07:46 PM
Pause macro, add form button to sheet, continue macro when button clicked! Flystar[_15_] Excel Programming 1 May 26th 04 09:45 AM
How to end macro on inital active worksheet containing macro button that was clicked Silverhawk1 Excel Programming 2 May 14th 04 03:58 PM


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