Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Use Macro To Change Which Macro Assigned To Command Button | Excel Discussion (Misc queries) | |||
Can't select macro button after other button is pressed | Excel Programming | |||
Pause macro, add form button to sheet, continue macro when button clicked! | Excel Programming | |||
How to end macro on inital active worksheet containing macro button that was clicked | Excel Programming |