I have code for a crosstab Query and I need to figure out how to make my Excel macro dump it into a spreadsheet for me. With my "normal" queries I've been able to do this in this manner:
Range("A" & intLineNum).Value = rst1!dataName
and proceeding through the different values.
How does this work for my crosstab, where I could have a varying number of columns based on the data I'm pulling?
Help please!
Range("A" & intLineNum).Value = rst1!dataName
and proceeding through the different values.
How does this work for my crosstab, where I could have a varying number of columns based on the data I'm pulling?
Help please!