View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Vincent Vincent is offline
external usenet poster
 
Posts: 39
Default Simple Macro... i guess

Hi everyone,

I´m a noob at VBA, so sorry if i offend anyone:)

I want a macro that goes to the last written cell of a column.
I tried:

Sub Macro 1

Max(Range("C:C")).Select

End Sub

Wich obviously didn´t work. In column C i had to insert the function
IF(B="";"";row()) in order to have the maximum value matching the last
written cell in column B.
I wanted that macro to send me to the maximum value of column C :)

Best Regards