Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel OLEDB format problem...

Hi,
I have .NET code that uses Microsoft.Jet.OLEDB.4.0 to create Excel
worksheets of data. The end result is that we get an Excel Worksheet with
columns (both header and individual rows) that have alpha-numeric data
prefixed by a single quote (').

When I open a blank worksheet and enter data in this manner (prefaced by a
single quote) it appears that this is a symbol to tells Excel to 'format
numbers as text'.
Does anyone know how to insert data into Excel sheets via OLEDB such that
data is NOT prefaced with these single quotes?

Note: The table (sheet) is being created via standard CREATE TABLE and the
columns are of type char(100) or char(255).

Thank you.


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
Missing OLEDB drivers in Excel 2000 (9.0.28.12) Missing OLEDB drivers Blank OLAP Provide Excel Discussion (Misc queries) 1 March 12th 09 09:42 PM
Using OleDB to get data from Excel dvd00 Excel Discussion (Misc queries) 1 November 30th 04 04:32 PM
OLEDB Help Excel 2002 Brian Belger Excel Programming 1 September 28th 04 08:56 AM
EXCEL AND OLEDB Yama Excel Programming 4 February 25th 04 03:29 PM
Excel schema using Jet OLEDB Provider? mike Excel Programming 1 December 22nd 03 09:25 AM


All times are GMT +1. The time now is 02:57 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"