Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Try it like this Private Sub Workbook_Open() Set sht = Sheets("Sheet1") If sht.Range("F2").Value 109 Then Call mymacro End If End Sub -- Mike When competing hypotheses are otherwise equal, adopt the hypothesis that introduces the fewest assumptions while still sufficiently answering the question. "Helmut" wrote: This is not working... If Range("F2").Value "109" Then I have a Workbook_Open macro which has to check if the value in F2 is greater than 109 then do a routine, if Value of F2 is 'empty' then end macro thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
If formula: if A1 is greater than B1 and A1 is greater than zero.. | Excel Discussion (Misc queries) | |||
Last Value Greater Than Zero | Excel Discussion (Misc queries) | |||
CountIf Greater Than/Find Greater Than | Excel Programming | |||
IF greater than Zero | Excel Worksheet Functions | |||
if greater then 99 then 1 if greater then 199 then two | Excel Worksheet Functions |