![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Apr 2002
Posts: 55
|
Is there a short cut key (keyboard shortcut) for aligning the text in the columns.
Regards, kalavathi |
|
|
|
|
|
#2 |
|
New Member
Join Date: Apr 2002
Location: England
Posts: 44
|
Not as far as I know, however, you can format a cell or range of cells say, centre justified in one of two ways.
If you centre justify a cell then select another cell and press F4 it will also justify this cell. This is because F4 will Repeat your last action. I usually leave my cell justification till last and then select all the cells I want to justify by holding down the Ctrl key while selecting cells. They other way is to write a macro for each justification you want to use and assign it a short cut key. For example:- sub JustifyCenter Selection.HorizontalAlignment = xlCenter endsub If you click option in the macro window you can then assign the macro a keystroke. In this case I used Ctrl+Shift+C. Not just Ctrl+C as that is the default copy key. Cheers, Alan. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|