Programmatically Sorte Rows that are Arranged in Subgroups.

G

Guest

Would like to write a macro that will allow me to sort a group of rows
without knowing how many rows are in the range. The number of rows change
each day I have to sort the sheet.

Each time I have to sort a spreadsheet named “Warehouseâ€, I have to select
the rows that contain the information about a specific warehouse in my
company. The information comes to me already grouped by warehouse number, but
the number of rows containing information about any specific warehouse
changes each day.

The warehouse groups are arranged in ascending order and each group is
separated by a “Total†row.

Here is how the sheet looks like:

Wrhs# Invice# $Sold $Purchasd
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top