Thread: Run macro Once
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PR[_2_] PR[_2_] is offline
external usenet poster
 
Posts: 27
Default Run macro Once

Can anyone let me know how to get this code to work when there is a null
entry in X1...

Worksheets("qry_aga_corps").Activate
Range("X1").Select
If ActiveCell isnull Then

"Run Code"

Else
MsgBox ("The Macro has already been activiated once, cannot run
twice")
End If

Regards - Paul