Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Activating a macro after a cell is updated

Hello All!!

I need help to activate a macro after the user finishes updating a cell. Can
this be done? Will it use up alot of the memory resources?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Activating a macro after a cell is updated

Right click on a sheet tab, select view code and put in code like this.
Assume your macro (Macro1) should run when the user edits cell B9

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$B$9" then
if not isempty(Target) then
macro1
end if
End if
End Sub

--
Regards,
Tom Ogilvy



"mecg96" wrote in message
...
Hello All!!

I need help to activate a macro after the user finishes updating a cell.

Can
this be done? Will it use up alot of the memory resources?



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
Excel cells randomly don't get updated unless each cell is updated Lost in Excel Excel Discussion (Misc queries) 5 September 29th 08 06:56 PM
Run Macro(save workbook) after cell updated titch New Users to Excel 3 February 5th 06 07:55 PM
Run a macro when a cell is updated systemx Excel Programming 1 December 6th 05 08:55 AM
Macro not running when cell value is updated Jon[_21_] Excel Programming 1 November 5th 05 06:22 AM
Cell Change activating macro. How do you make it happen? John Baker Excel Programming 10 November 23rd 03 10:55 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"