I have a spreadsheet report coming from an application. I do some VBA manipulation in Excel from Access to the file, then import the data to Access. One of the manipulation steps I have Access perform is to add in a column to the Excel file called "Key" (see code below). However, I get the following error when I try to import the data. I do not tell Excel to add in those 3 special characters and when I check the file itself, those characters are not part of that column header.
How can I keep those special characters from supposedly being added?
How can I keep those special characters from supposedly being added?
Code:
.Columns("A:A").Insert shift:=xlToRight, CopyOrigin:=xlFormatFromRightOrBelow
.Range("A1").FormulaR1C1 = "Key"