spaces data ranges

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 » Spaces in Data Ranges

Spaces in Data Ranges

resolvedResolved · Low Priority · Version 2003

Kate has attended:
Excel VBA Intro Intermediate course

Spaces in Data Ranges

How do you code a macro to select a data range including spaces ???

RE: Spaces in Data Ranges

If your data doesn't include rows or columns that are completly blank you can use "currentregion"

Eg

Range("A1").CurrentRegion.Select

Laura

 

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:

Sorting List Subtotals

If you find that you would prefer to show the items in a subtotalled list in a different order, eg ascending rather than descending, you can sort your list. To sort a subtotalled list, hide the detail rows and then sort the subtotal rows. When you sort a subtotalled list, the hidden detail rows are automatically moved with the subtotal rows.
IMPORTANT: If you do not hide the details rows before sorting a subtotalled list, your subtotals will be removed and all of the rows in your list will be reordered.

View all Excel hints and tips


Server loaded in 0.07 secs.