#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default starting macro again

yesterday i asked how to start a macro on a condition of a cell and run it
once I recieved a reply with directions re
Private Sub Worksheet_Calculate()
etc. etc
but am having trouble putting this in the right spot to make it work where
exactly do these instructions go. the info goes into A7 manually
any help appreciated
Dave
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default starting macro again


Post all of your code. Methinks you may want a worksheet_change event
instead.
In any event, event code goes in the WORKSHEET module. Right click sheet
tabview code
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Davidm" wrote in message
...
yesterday i asked how to start a macro on a condition of a cell and run it
once I recieved a reply with directions re
Private Sub Worksheet_Calculate()
etc. etc
but am having trouble putting this in the right spot to make it work where
exactly do these instructions go. the info goes into A7 manually
any help appreciated
Dave


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default starting macro again

Best to stick with the original post and make your replies there.

In my original post I gave you the choice of Calculate or Change events.

Delete the Calculate line and remove the apostrophe from the Change event
line.

Right-click on the sheet tab and "View Code"

Copy/paste the code I gave.................edit the two lines as above.

Alt + q to return to the Excel window.


Gord Dibben MS Excel MVP

On Tue, 2 Jun 2009 15:45:01 -0700, Davidm
wrote:

yesterday i asked how to start a macro on a condition of a cell and run it
once I recieved a reply with directions re
Private Sub Worksheet_Calculate()
etc. etc
but am having trouble putting this in the right spot to make it work where
exactly do these instructions go. the info goes into A7 manually
any help appreciated
Dave


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default starting macro again

Thanks, new to help.This has helped the situation and I am most grateful as I
will use this principal a lot in the future

Regards Dave M

"Gord Dibben" wrote:

Best to stick with the original post and make your replies there.

In my original post I gave you the choice of Calculate or Change events.

Delete the Calculate line and remove the apostrophe from the Change event
line.

Right-click on the sheet tab and "View Code"

Copy/paste the code I gave.................edit the two lines as above.

Alt + q to return to the Excel window.


Gord Dibben MS Excel MVP

On Tue, 2 Jun 2009 15:45:01 -0700, Davidm
wrote:

yesterday i asked how to start a macro on a condition of a cell and run it
once I recieved a reply with directions re
Private Sub Worksheet_Calculate()
etc. etc
but am having trouble putting this in the right spot to make it work where
exactly do these instructions go. the info goes into A7 manually
any help appreciated
Dave



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
Starting macro Davidm Excel Discussion (Misc queries) 3 June 3rd 09 04:09 AM
Starting a macro execution where the cursor happens to be [email protected] Charts and Charting in Excel 1 November 4th 07 07:16 AM
Starting A Macro zephyr Excel Discussion (Misc queries) 2 November 10th 06 12:03 PM
starting a macro at startup chip_pyp Excel Discussion (Misc queries) 1 March 22nd 06 06:59 PM
Starting a macro with the IF function THW Excel Worksheet Functions 4 June 19th 05 05:40 PM


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

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"