View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
joel[_190_] joel[_190_] is offline
external usenet poster
 
Posts: 1
Default absolute reference r1c1 code


You can always use A1 addressing

Cell1Addr = cells(Activecell.Row - 1,ActiveCell.column).address
Cells2Addr = cells(activecell.Row,Activecell.column + 7).address
ActiveCell.Formula = "=round(" & Cell1Addr & "*" & Cell2Addr & ",2)"


--
joel
------------------------------------------------------------------------
joel's Profile: http://www.thecodecage.com/forumz/member.php?userid=229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=151771

Microsoft Office Help