PC Review


Reply
Thread Tools Rate Thread

calling a macro upon selecting a cell

 
 
=?Utf-8?B?bWlrZWFsbGVuNzc=?=
Guest
Posts: n/a
 
      20th Sep 2007
when i select a cell, say B2, a message box comes up with a message i wrote
in a macro at some point in the past. it asks if i want to proceed w/ the
subroutine. for the life of me, i cannot figure out how to get to this code.
it does not appear to be in vbe, at least not under modules (there are non
in this spreadsheet). how do you call a sub by simply selecting a cell and
where is the code stored? thanks, mike allen
--
mikeallen
 
Reply With Quote
 
 
 
 
=?Utf-8?B?SkxHV2hpeg==?=
Guest
Posts: n/a
 
      20th Sep 2007
Right click on the sheet tab of the sheet the cell is in. Then click View
Code.
It sounds like a worksheet_change macro.

"mikeallen77" wrote:

> when i select a cell, say B2, a message box comes up with a message i wrote
> in a macro at some point in the past. it asks if i want to proceed w/ the
> subroutine. for the life of me, i cannot figure out how to get to this code.
> it does not appear to be in vbe, at least not under modules (there are non
> in this spreadsheet). how do you call a sub by simply selecting a cell and
> where is the code stored? thanks, mike allen
> --
> mikeallen

 
Reply With Quote
 
=?Utf-8?B?bWlrZWFsbGVuNzc=?=
Guest
Posts: n/a
 
      20th Sep 2007
perfect! i would have never found it, even though i have obviously used it
before. thank you.
--
mikeallen


"JLGWhiz" wrote:

> Right click on the sheet tab of the sheet the cell is in. Then click View
> Code.
> It sounds like a worksheet_change macro.
>
> "mikeallen77" wrote:
>
> > when i select a cell, say B2, a message box comes up with a message i wrote
> > in a macro at some point in the past. it asks if i want to proceed w/ the
> > subroutine. for the life of me, i cannot figure out how to get to this code.
> > it does not appear to be in vbe, at least not under modules (there are non
> > in this spreadsheet). how do you call a sub by simply selecting a cell and
> > where is the code stored? thanks, mike allen
> > --
> > mikeallen

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Selecting a cell during a macro Sue Microsoft Excel Programming 3 21st Feb 2008 02:46 PM
Macro - Selecting Next Available Cell cappuccine Microsoft Excel Programming 11 3rd Nov 2005 10:19 PM
Re: Calling macro on cell change schoujar Microsoft Excel Programming 0 26th Aug 2005 07:20 AM
Run a macro from selecting a cell Tony Pleasant Microsoft Excel Misc 1 23rd Jun 2004 02:11 PM
Execute a macro by selecting a cell scrabtree Microsoft Excel Worksheet Functions 2 5th Sep 2003 01:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:19 PM.