Adjusting To Current Row Range in Marco

T

tmdrake

I have a database that exports the results of a query into a Excel
Spreadsheet. I am trying to build a marco that convert this information into
a Pivot Table. The only problem is the row count changes everytime you run
the query and the information is exported into Excel.

My questions is there a way to write the marco, so that it automatically
adjust to the number of rows that are exported from the database?

All help is greatly appreciated.
 

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