Keyboard shortcut to highlight all cells in a column from bottom to top

VBAProIWish

Well-known Member
Joined
Jul 6, 2009
Messages
1,027
Office Version
  1. 365
Platform
  1. Windows
Hello,

What is the best way to highlight all cells in a column from bottom to top?

For example, if I'm in column O, row 138, what keyboard shortcut would I need to select ONLY and ALL cells from the row I'm currently on, (in this example, 138) to row 1 and ONLY in that particular column?

Keep in mind that the next time I may be starting at row 1,200, it could be different everytime.

I tried everything I could think of..

Code:
CTRL+A
CTRL+SHIFT+A
CTRL+HOME
CTRL+SHIFT+HOME
CTRL+UP ARROW
CTRL+SHIFT+UP ARROW
CTRL+PAGE UP
CTRL+SHIFT+PAGE UP

and nothing worked to select everything in that column from the row I'm currently on, to row 1.

Regards
 
Thanks Fazza, but neither will work.

CTRL+SHIFT+UP
I will have a different number of blanks, then non blank cell in this column every time I run the report, so CTRL+SHIFT+UP several times won't work as I won't know the number of times it's needed each time I run the report.


CTRL-SHIFT-HOME
Won't work because I need to select a specific column and doing it this way will select a region of columns.

But thanks anyway
 
Upvote 0
CTRL+SHIFT+UP several times won't work as I won't know the number of times it's needed each time I run the report.

Are you trying to automate this? If not, then you just hold those three keys down until you hit the top; if you are automating it, then the whole thing is moot anyway.

A relatively quick way, if you have no data underneath the selection, would be:
Ctrl+Spacebar (select column)
Ctrl+. (activate top cell)
Ctrl+Shift+Up arrow (shrink the selection to the last used cell)
 
Last edited:
Upvote 0
Yes, I am trying to automate it. I found a change in the code itself, so I guess I don't need this shortcut, but I suppose it would be nice to know it, if there is one.

Thanks anyway to everyone!
 
Upvote 0

Forum statistics

Threads
1,226,771
Messages
6,192,926
Members
453,767
Latest member
922aloose

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top