View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
[email protected] dhockin@uniongas.com is offline
external usenet poster
 
Posts: 8
Default VBA for Last Cell in Formula Range

Using VBA
Trying to indentify the last cell on sheet that has a formula.

code fragment below

have tried
Set rge = Sh.UsedRange.SpecialCells(xlCellTypeFormulas,
xlCellTypeLastCell)
msgbox rge.Address

However I this returns the address of all formula cells

Any suggestions to get the address of the last cell with a formula ?

ie used range a1: j 100 , and last formula may be j 89