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

best training excel intermediate - vba

Forum home » Delegate support and help forum » Microsoft Excel Training and help » best training excel intermediate - VBA

best training excel intermediate - VBA

ResolvedVersion Standard

Dominique has attended:
Excel VBA Intro Intermediate course

VBA

How do I find blank rows of data and delete them?

RE: VBA

Hi Dominique

Thank you for your question. As this requires a reasonably lengthy bit of coding, I'll refer to you to a page that shows the code. Please bear in mind that I haven't tested this myself so try it on a small spreadsheet first to see if it works.

The code should:
- delete all blank rows in the worksheet you specified or in the active sheet except rows
- that contain formulas
- that are precedents of a formula in a cell, e.g. if a formula in A6 references cells in rows 1 to 5, rows 1 to 5 will not be deleted.

For the code, please see www.cpearson.com/excel/deleting.htm

I hope this works for you.
Amanda

Excel tip:

Change the Default Width of All Columns in Excel 2010

If you want to change the width of the columns in your Excel 2010 spreadsheet, making them either larger or smaller, here's how:

In the Cells group on the Home tab, click Format.

Hover over the section called Cell Size and a drop down list will appear, select Default Width from this list.

In the Standard Width dialog box, enter the size you want to set as the default width and click OK.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.