Disable Auto Date Formatting for QueryTables.Add

L

Lazzaroni

I am using QueryTables.Add to query data from a MySQL database and drop it
into spreadsheets in Excel. The trouble is, that Excel likes to format
anything that looks like a date as a date, and in our case many things that
are not dates look like dates.

I need to programmatically disable Auto Formatting altogether before I run
these queries. Can anyone tell me how to do it?

Thanks.
 

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