formating
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Formating

Formating

resolvedResolved · Low Priority · Version 2003

replyReply Mon 6 Oct 2008, 16:32Delegate David said...

David has attended:
Excel VBA Intro Intermediate course

Formating

How do you autosize a Excel cell in VBA?

For upcoming training course dates see: Pricing & availability

replyReply Tue 28 Oct 2008, 11:10Trainer Laura said...

RE: formating

Hi David,

Welcome to the forum. Thank you for your question regarding autosizing a cell.

To autoszing a cell you use the Autofit command to the row and column. For Example

Rows("3:3").EntireRow.AutoFit
Columns("F:F").EntireColumn.AutoFit



Please let me know how you get on.


Laura GB

 

Please browse our web site to find out more about
excel training seminar and other Microsoft training courses.

Excel tip:

Shortcut keys to move between sheets

Instead of clicking on a sheet tab to view a sheet, use the following keyboard shortcuts to move between sheets in the same file:

Ctrl + Page Down - Switch to the next worksheet (to the right)

Ctrl + Page Up - Switch to the previous worksheet (to the left)

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard