View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Vergel Adriano Vergel Adriano is offline
external usenet poster
 
Posts: 857
Default VB - Relative Refs

Darin,

Here's one way


Sub test()
With ActiveCell
Range(Cells(3, .Column), Cells(180, .Column)).Select
End With
End Sub


--
Hope that helps.

Vergel Adriano


"Darin Kramer" wrote:



Howdie,

Im looking for some VB that will, in the column that the cursor is
currently in, select cells 3:180.

So if active cell is in column B when macro is run it will select
b3:b180 and if active cell is in column X when macro is run, it will
select select x3:x180....

Thanks!!!

D

*** Sent via Developersdex http://www.developersdex.com ***