Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Here is the code snippet...
Sub DesignateStartingCell() MsgBox "Select the starting cell for the first column" Call GenerateNames("START_SPEC", "SPECS") End Sub The GenerateNames("START_SPEC", "SPECS"), is going to the generate a NAMED RANGE at the selected cell. The name is START_SPEC and the sheet name is SPECS. May be I should use a msg like "Have you selected appropriate starting Cell?" If the user clicks on YES, the code runs and if the user clicks on NO the exit without calling GenerateNames("START_SPEC", "SPECS")... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Cancel Macro is user selects 'cancel' at save menu | Excel Programming | |||
Bypassing OK/Cancel Dialog Box | Excel Programming | |||
Bypassing OK/Cancel Dialog Box | Excel Programming | |||
Print Dialog Cancel Button | Excel Programming | |||
Dialog Box - User hits cancel | Excel Programming |