I am currently working on a VB application which transfers data from an Excel spreadsheet to an Access DB table. I am able to transfer most of the data except for a few cells in one of the spreadsheet columns. The problem is that most of the values within the column have number representations while some exist which are a combination of both numbers and letters. These combination cells do not copy over to the DB. The field Data type within the DB table is set to Text...
I tried to set all values within the excel spreadsheet column to "Text" using the following lines of code:
when I transfer the data the same problem still arises....
Any advice?? Any reponses would be greatly appreciated.
Thanks
-vza
I tried to set all values within the excel spreadsheet column to "Text" using the following lines of code:
Code:
Columns("C:C").Select
With Selection
.NumberFormat = "@"
End With
when I transfer the data the same problem still arises....
Any advice?? Any reponses would be greatly appreciated.
Thanks
-vza