Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Can you attach a macro to a cell which when clicked activates the macro or
can you attach a macro to a button/shape inbedded in a form as before activates when clicked. The reason for asking is I have a macro to auto save a file using a selected cell range and current date as file name to a chosen location within a shared drive. The idea being to make it more user friendly for those not to keen on IT. Can any one help please!! -- Marco |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
right click sheet tabview codeleft windowworksheetright window double
click if target.address="$A$1" then call my macro -- Don Guillett Microsoft MVP Excel SalesAid Software "Marco" wrote in message ... Can you attach a macro to a cell which when clicked activates the macro or can you attach a macro to a button/shape inbedded in a form as before activates when clicked. The reason for asking is I have a macro to auto save a file using a selected cell range and current date as file name to a chosen location within a shared drive. The idea being to make it more user friendly for those not to keen on IT. Can any one help please!! -- Marco |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks Don
But do i in the part ="$A$1" (put the cell loc i want to use to active the macro)and in the part then call my macro (put the name of the macro to be used in this case it is called SvMe Marco "Don Guillett" wrote: right click sheet tabview codeleft windowworksheetright window double click if target.address="$A$1" then call my macro -- Don Guillett Microsoft MVP Excel SalesAid Software "Marco" wrote in message ... Can you attach a macro to a cell which when clicked activates the macro or can you attach a macro to a button/shape inbedded in a form as before activates when clicked. The reason for asking is I have a macro to auto save a file using a selected cell range and current date as file name to a chosen location within a shared drive. The idea being to make it more user friendly for those not to keen on IT. Can any one help please!! -- Marco |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
How often do you want to save the workbook?
At intervals without closing? If not, may be better to place event code in Thisworkbook which does the saving when you close the workbook. Gord Dibben MS Excel MVP On Tue, 30 Oct 2007 08:05:00 -0700, Marco wrote: Can you attach a macro to a cell which when clicked activates the macro or can you attach a macro to a button/shape inbedded in a form as before activates when clicked. The reason for asking is I have a macro to auto save a file using a selected cell range and current date as file name to a chosen location within a shared drive. The idea being to make it more user friendly for those not to keen on IT. Can any one help please!! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can I attach a PDF in a cell? | Excel Discussion (Misc queries) | |||
E-mail macro - how do I attach multiple attachments? | Excel Discussion (Misc queries) | |||
in this version I can not attach a Macro to a Button | Excel Discussion (Misc queries) | |||
How do you attach a macro in excel 2003? | Excel Discussion (Misc queries) | |||
De-Attach Macro?? Is there any way? | Excel Discussion (Misc queries) |