Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 69
Default Attach macro to a cell

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 69
Default Attach macro to a cell

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Attach macro to a cell

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
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
Can I attach a PDF in a cell? Genia Excel Discussion (Misc queries) 1 February 1st 07 02:39 PM
E-mail macro - how do I attach multiple attachments? G and (ajk) Excel Discussion (Misc queries) 1 October 9th 06 01:22 PM
in this version I can not attach a Macro to a Button Hussam Bachat Excel Discussion (Misc queries) 3 July 13th 05 09:08 AM
How do you attach a macro in excel 2003? James Excel Discussion (Misc queries) 1 April 21st 05 04:51 PM
De-Attach Macro?? Is there any way? marika1981 Excel Discussion (Misc queries) 13 January 8th 05 03:13 PM


All times are GMT +1. The time now is 09:03 AM.

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"