View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
leonidas[_26_] leonidas[_26_] is offline
external usenet poster
 
Posts: 1
Default Macro to paste row number in cell


Hi,

I have the following macro. How do I paste the rownumber in cell H32?

Sub test()

myrow = ActiveCell.Row
ActiveSheet.Next.Select
Range("H32").Select

End Sub


--
leonidas
------------------------------------------------------------------------
leonidas's Profile: http://www.excelforum.com/member.php...o&userid=35375
View this thread: http://www.excelforum.com/showthread...hreadid=556426