View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
puiuluipui puiuluipui is offline
external usenet poster
 
Posts: 468
Default macro ignore formulas

Hi, is there any way this macro ignore formulas?
In column "I" i have this formula that retrieve numbers.
(=IF(G2<"",H2*G2,"")). If there are no numbers to retrieve, then the formula
doesn't display anything. But the macro keep seeing the formula. The formula
goes till row 50, and because of that, the macro is selecting the cell in row
50.
I need this macro to see only the results of formula.
Macro:
Columns("I:I").Select
Range("I1").End(xlDown).Select
ActiveCell.Offset(1, 0).Select
Can this be done?
Thanks!