View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB
 
Posts: n/a
Default HELP NEEDED FOR IF Function Inside a Macro

Worksheets("Sheet1").Range("A1").Value
or
Worksheets("Sheet1").Cells(1, 1).Value
or if the cell is named
Worksheets("Sheet1").Range("MyCellName").Value


"Sandi" wrote:

when using an IF then else function inside a macro, how do you reference a
cell for a specifc value in the IF function. Any help would be greatly
appreciated.

Thanks
--
Sandi Gardner