Hi All…
I’m having a heck of a time with this… I have an Excel spreadsheet that is emailed to my boss once a month… It’s got some crazy formatting… I have to remove all of the formatting (unlock sections and all that) in order to import the data into an Access database that creates journals (reports)… It’s been working fine for a long time but all of a sudden, the amounts aren’t coming in right… Since I had such a hard time bringing the data in at all, I was importing all of the fields as Text and converting the numeric ones in a query in the database… My boss noticed today that some of the amounts were different… It looks like they were being rounded or something… For example: 40,343.06 came in as 40,343.10 … and 38,671.64 came in as 38,671.60
Well I tried to get them to come in right and now when I try import the spreadsheet I get “Run Time Error 3274… External Table isn’t in the expected format… ”
I’ve tried everything that I can think of… Nothing much has changed from the original… Just some right justification… I don’t understand what is happening…
Also… Just curious… Our office is running all of Office 2000 except Access… We still have Access 97 for now… Is it possible that this has something to do with it?
I’m trying to import into an existing table shell called NewSheet… Here is the line of code that it’s breaking on…
DoCmd.TransferSpreadsheet acImport, , “NewSheet”, gstrPath & gstrMacroSheet, True
Any ideas?