LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default QueryTable Field Name formatting

Is there any way to control the formatting on Field Names in a query
table? I'm hitting an ODBC source with a conditional sum query to
crosstab the data by date, but Excel refuses to recognize the field
names as dates, despite the data being properly formatted.

I can force the issue by looping through that row in VBA and setting
the value of the cell to itself, at which point Excel recognized the
data as a date, and formats it appropriately. It works, but seems to be
a rather crude hack, and I hate the idea of adding overhead that
effectively changes nothing.

Anyone have any better ideas?


---
Message posted from http://www.ExcelForum.com/

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Webquery [querytable] long url LightShow Excel Discussion (Misc queries) 5 May 21st 07 11:09 PM
Querytable Ben.c Excel Programming 4 December 3rd 03 09:11 AM
Using Copy/Paste and QueryTable Operations Hudel Holmes Excel Programming 0 November 17th 03 04:52 PM
Using VBA Copy/Paste and QueryTable Hudel H Excel Programming 0 November 17th 03 04:41 PM
MS QUERY w/out querytable No Name Excel Programming 1 October 24th 03 03:55 PM


All times are GMT +1. The time now is 05:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"