Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi,
Is there a peice of code i could add to the beginning of a macro tha would look in a cell, say A1 and if the value in that cell is False th macro would not run. But if the Value is True then let the macro run. Regards Pet -- Message posted from http://www.ExcelForum.com |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Pete,
At the beginning of the procedure, use code like If Range("A1").Value = False Then Exit Sub End If -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Pete JM " wrote in message ... hi, Is there a peice of code i could add to the beginning of a macro that would look in a cell, say A1 and if the value in that cell is False the macro would not run. But if the Value is True then let the macro run. Regards Pete --- Message posted from http://www.ExcelForum.com/ |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Perfect!
Thank you very much for you help Regards Pet -- Message posted from http://www.ExcelForum.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do you disable the Collate button? | Excel Discussion (Misc queries) | |||
how do you disable a button? | Excel Programming | |||
Enable/Disable Button | Excel Programming | |||
Disable the right mouse button?? | Excel Programming | |||
Disable Button | Excel Programming |