Change Row Numbers in Formula with Macro

  • Thread starter Thread starter Frank
  • Start date Start date
F

Frank

=IF(February!I16=0,"",February!I16)

I am using this formula but would like to develope a macro
to update the Row number(16) to Row number(17)
automatically. I do not wish to change anything except
the Row number and am not sure how to do this.


Any help is greatly appreciated. Thank you

Frank
 
Sub test()
Dim cell As Range
Set cell = Sheets("Sheet2").Range("F7")
cell.Replace What:="16", Replacement:="17"
End Sub
 
Thank you it is working very well, they were both
excellent sugestions.

Frank
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top