Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have this simple code:
sub printsheet() If Worksheets(1).Cells(1, 1) < " " Then Worksheets(1).printout End If end sub I keep getting a COMPILE ERROR: End If without Block if. My If Then syntax appears to be coorect based on the help file, what am I doing wrong? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
if then statements | Excel Worksheet Functions | |||
IF Statements (Mutliple Statements) | Excel Worksheet Functions | |||
if and or statements | Excel Discussion (Misc queries) | |||
IF & AND statements | Excel Worksheet Functions | |||
If then statements | Excel Worksheet Functions |