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 linked to Access

I linked Excel table and am having an issue with one of the field format
conversion as follows:

The field in question is an alpha numeric ID field/column in Excel with some
all number, all text and combined number and text cells formatted as General
i.e MLE, 4523, S8T1 etc...When you open the linked spreadsheet in a direct
linked table this field shows records with the error #NUM! possibly because
during the field conversion Access assumes that it's a number field dropping
the all text. I tried converting the entire column to text in Excel and now
it gives me an error on the all number fields.

MLE
#NUM!
SSM
#NUM!

I don't see any other format in Excel that would accomodate this
circumstance. Please help...thank you.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Excel linked to Access

One possible solution is to format the column as text and for each numeric
value (e.g. 4523) edit the cell value to put an apostrophe in front (e.g.
'4523). By putting an apostrophe as the first character you are converting
the numeric value to text and it will show up in Access. If you have many
values, you may want to consider writing a macro to convert the numeric
values in the column. You can test for numeric values using the IsNumeric
function.

--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or warranties.


"AccessARS" wrote in message
...
I linked Excel table and am having an issue with one of the field format
conversion as follows:

The field in question is an alpha numeric ID field/column in Excel with some
all number, all text and combined number and text cells formatted as General
i.e MLE, 4523, S8T1 etc...When you open the linked spreadsheet in a direct
linked table this field shows records with the error #NUM! possibly because
during the field conversion Access assumes that it's a number field dropping
the all text. I tried converting the entire column to text in Excel and now
it gives me an error on the all number fields.

MLE
#NUM!
SSM
#NUM!

I don't see any other format in Excel that would accomodate this
circumstance. Please help...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
Using Excel as an actively linked workbook in Access John_A Excel Worksheet Functions 0 January 11th 07 07:04 PM
Excel File Linked in Access nukeawhale Excel Discussion (Misc queries) 1 January 21st 06 02:41 AM
Excel to Access linked tables Keith Excel Discussion (Misc queries) 0 December 14th 05 10:37 PM
New Excel data does not appear in linked Access table JohnL Excel Discussion (Misc queries) 0 October 7th 05 04:31 PM
Excel linked to Access Dean Collins Excel Programming 0 January 2nd 04 05:10 PM


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