Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default ADO Weirdness: Changes dots to #'s in FieldNames

All -

In inporting to Excel via ADO, I found fieldnames formatted as emails
have their dots (.'s) changed to pound signs (#'s). I verified the
fieldname correct as entered in the closed workbook. The change happens
during the import.

Is this to be expected? I'm an ADO rote user for now and couldn't even
phrase the question right in 10 words or less for Google to find an
answer.

My workaround was to use J-Walk's closed workbook macro for the
fieldname and ADO for the rest.

Is there a way to do this in ADO without further hassle? Or is this
just the way it is?

Thanks in advance.

....best, Hash
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 252
Default ADO Weirdness: Changes dots to #'s in FieldNames

One workaround would be to use the REPLACE function on the header row in your
code immediately after you execute the sql statement. (Replace all #s with
dots) in the header row.

" wrote:

All -

In inporting to Excel via ADO, I found fieldnames formatted as emails
have their dots (.'s) changed to pound signs (#'s). I verified the
fieldname correct as entered in the closed workbook. The change happens
during the import.

Is this to be expected? I'm an ADO rote user for now and couldn't even
phrase the question right in 10 words or less for Google to find an
answer.

My workaround was to use J-Walk's closed workbook macro for the
fieldname and ADO for the rest.

Is there a way to do this in ADO without further hassle? Or is this
just the way it is?

Thanks in advance.

....best, Hash

Reply
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
Leading dots...trailing dots Josh O. Excel Discussion (Misc queries) 2 January 31st 08 06:22 PM
Match dBase with Fieldnames JHL Excel Worksheet Functions 0 July 27th 06 03:00 AM
VBE Weirdness questionmark Excel Programming 2 February 6th 05 06:41 PM
Weirdness Kevin L Excel Programming 2 December 1st 04 03:45 PM
VBA IDE Weirdness.... Trip[_2_] Excel Programming 3 June 17th 04 03:49 AM


All times are GMT +1. The time now is 04:29 AM.

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

About Us

"It's about Microsoft Excel"