MACRO SELECT COLUMN

D

Dan

Hello, I am trying to make a macro to select a column, preferably from preset
rows, but if I select the first cell, I have:

Dim C6 As String
C6 = Range("C6")

'C6 has: =ROW($A$1000) 'to designate the last row

Range(ActiveCell, ActiveCell.Offset(1000, 0)).Select

How do I include C6 in the above line, thanks.
 
D

Dan

note: offset 1000 not same as last row
maybe will need to change what is in C6 to a: ROW minus ROW..

=ROW($A$1050)-ROW($A$50)
 
D

Dan

i can do that.. note: would make this a comment to somewhere, i don't know
if what I come up with might be unique ?? / , but everytime I give all the
details, people skip the request. not saying this as maybe, observed that
at 100%..

better to do in pieces.
just trying to copy a formula to selected cells, with a couple of twists:
- skip rows where column A has a period ".", to name one

doesn't change anything about selecting a specific set of rows in a column.
thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top