I need to select the whole column ABOVE the active cell. Ctrl-Shift-UpArrow is no good because it stops at the first blank cell. And selecting the whole column is no good either because when I subsequently paste into the column, it pastes in all the empty cells of the column, meaning my worksheets expands from a few hundred rows to 1 million!
Shift-Home does what I want on rows. Is there an equivalent for columns?
TIA
Do you mean perhaps: SHIFT + PAGE UP ?
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
select the whole column and then do Shift Ctrl UpArrow
Last edited by teylyn; 01-28-2010 at 04:57 AM.
teylyn
Microsoft MVP - Excel
At Excelforum, you can say "Thank you!" by clicking theicon below the post.
Avoid pie charts with more than two data points. Why? See here (pdf, 559 kb). The only acceptable pie chart is here.
DO, that will only select one page worth of data, if you're several pages down from row 1, you'll need to hit it repeatedly.
teylyn
Microsoft MVP - Excel
At Excelforum, you can say "Thank you!" by clicking theicon below the post.
Avoid pie charts with more than two data points. Why? See here (pdf, 559 kb). The only acceptable pie chart is here.
Thanks for your replies; unfortunately, I'm still in the same boat.
Shift-PgUp only selects a page-worth, and because the page has around 90K lines, I needto write a macro to automate things.
did you read my first reply? Did you try it?
teylyn
Microsoft MVP - Excel
At Excelforum, you can say "Thank you!" by clicking theicon below the post.
Avoid pie charts with more than two data points. Why? See here (pdf, 559 kb). The only acceptable pie chart is here.
Maybe a bit more detail:
with Row 1 visible on the screen, click the column header to select the whole column
Then hit Ctrl-Shift-UpArrow. This will select from row 1 down to the last occupied cell in the column.
If Row 1 is not visible when you click the column header, the Ctrl-Shift-UpArrow will not change the selection and it will remain at the whole column.
Dunno why, just found that it does it that way.
teylyn
Microsoft MVP - Excel
At Excelforum, you can say "Thank you!" by clicking theicon below the post.
Avoid pie charts with more than two data points. Why? See here (pdf, 559 kb). The only acceptable pie chart is here.
Thanks teylyn; yes, tried that, but no go - am I doing something wrong? After selecting the whole column, I then clicked on the bottom cell, then did the Ctrl-Shift-Up; but once again, it stops at the first blank cell.
Wow, that did the job very beautifully!
Thanks, Teylen!
Unfortunately, a hitch .... the "select column, then do a Ctrl-Shift-Up" method works beautifully when manipulating the spreadsheet manually.
However, when converting those movements into a macro via "record macro", it doesn't work; the whole column continues to be selected.
The code created by "record macro" is -
Columns("E:E").Select
Range(Selection, Selection.End(xlUp)).Select
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks