Sabtu, 30 Juni 2012

RE: [ExcelVBA] Select range in column with non-continuous data

 

I would select B1 then, holding SHIFT down press END the HOME. Then, still
holding SHIFT down use the left arrow until only one column is selected.

Easier to do then describe!

Best Regards
David Grugeon
Excel VBA Group Moderator

-----Original Message-----
From: ExcelVBA@yahoogroups.com [mailto:ExcelVBA@yahoogroups.com] On Behalf
Of Torstein Johnsen
Sent: Wednesday, 27 June 2012 7:32 PM
To: ExcelVBA@yahoogroups.com
Subject: [ExcelVBA] Select range in column with non-continuous data

This is not a VBA-question.
 
I hope I can explain it and get some good advice anyway.
 
in a worksheet - 3 columns, about 10000 rows of data.
In column A and C the data are continuous - all cells are filled with data
In column B - some cells are empty.
 
I want to select the range B1.BNNNN (where NNNN is the last row with data),
but it's not possible to use END-DOWN because of the empty cells in that
column.
 
Is there any way around?
 
Thanks in advance!
 
Torstein

[Non-text portions of this message have been removed]

------------------------------------

----------------------------------
Be sure to check out TechTrax Ezine for many, free Excel VBA articles! Go
here: http://www.mousetrax.com/techtrax to enter the ezine, then search the
ARCHIVES for EXCEL VBA.

----------------------------------
Visit our ExcelVBA group home page for more info and support files:
http://groups.yahoo.com/group/ExcelVBA

----------------------------------
More free tutorials and resources available at:
http://www.mousetrax.com

----------------------------------Yahoo! Groups Links

__._,_.___
Recent Activity:
----------------------------------
Be sure to check out TechTrax Ezine for many, free Excel VBA articles! Go here: http://www.mousetrax.com/techtrax to enter the ezine, then search the ARCHIVES for EXCEL VBA.

----------------------------------
Visit our ExcelVBA group home page for more info and support files:
http://groups.yahoo.com/group/ExcelVBA

----------------------------------
More free tutorials and resources available at:
http://www.mousetrax.com

----------------------------------
.

__,_._,___

Tidak ada komentar:

Posting Komentar