Thread: MACRO ADD ROW
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
mrice
 
Posts: n/a
Default MACRO ADD ROW


You can use something like

LastRow = Cells(65536,1).end(xlup).row

to determine the last row on your worksheet and then add your new row
below this

An alternative is to do something like

Cells(65536,1).end(xlup).offset(1,0) = NewMonth


--
mrice

Research Scientist with many years of spreadsheet development experience
------------------------------------------------------------------------
mrice's Profile: http://www.excelforum.com/member.php...o&userid=10931
View this thread: http://www.excelforum.com/showthread...hreadid=545955