formating

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

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

Formating

resolvedResolved · Low Priority · Version 2003

David has attended:
Excel VBA Intro Intermediate course

Formating

How do you autosize a Excel cell in VBA?

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

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Moving or Copying Sheets Between Workbooks in Excel 2010

Here's how to move or copy sheets between workbooks in Excel 2010:

Open the sheet you want to move or copy then on the Ribbon click the Home tab. Click Format. Under Organize Sheets, select the option Move or Copy Sheet and then choose where you want the sheet to be moved/copied to.

View all Excel hints and tips


Server loaded in 0.08 secs.