With my queried data, my range will change each timeI see no problem with that, you can calculate the range. You have the number of rows and cols returned by the DB query.
If I didn't understand correctly, than you have to provide a working example of what you do and the expected results.
In reply to Re: Pivot data in Excel via Win32Ole
by stefbv
in thread Pivot data in Excel via Win32Ole
by cocl04
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |