I have a linked excel file in Access. When I open the file, I can see that the project ID column is numeric as the first few rows are numbers but subsequent rows are alphanumeric. And those subsequent alphanumeric rows will appear as #Num!.
How do I force Access to recognise this column as string?
Because I use this file in a query and I got data type mismatch because I was expecting this column to be string. I can't convert using CStr because those alphanumeric rows will be errors.
Although I overcame the problem by adding another column in Excel to convert this column into string, I wish there could be an easier way as I have to do this every week whenver I receive a new file (a new file is downloaded from another system and I have
to use my Access programme to run certain queries).