EzGoingKev
Registered User.
- Local time
- Today, 02:34
- Joined
- Nov 8, 2019
- Messages
- 199
Good morning all.
There is an Excel file that was created and is maintained by multiple coworkers. I have to work with the data in that file so I currently have it as a linked table in my Access db.
I ran my query and found empty cells where there should be data. Looking at the linked table I am seeing #NUM! where there should be data. I went into the Excel file and the data is there with the little green indicator letting me know that the data is a number stored as text.
Access does not give me the option to format any of the data when I set it up as linked table.
I then converted the linked table to a local table. I played around with the different number formats and tried converted those fields to text (I do not need them to be a number). I imported the data using DoCmd.TransferSpreadsheet in VBA but I got import errors and it dropped the data from the cells where they are numbers stored as text.
I know I can manually go in an format the data in the sheet but this sheet has (90) fields. If they screw it up in one place it is only a matter of time until it is screwed up somewhere else.
How can I bring the data in without some of dropping out?
GETTING THESE GUYS TO KEEP THE DATA CLEAN IS IMPOSSIBLE SO PLEASE LETS NOT GET INTO THAT.
There is an Excel file that was created and is maintained by multiple coworkers. I have to work with the data in that file so I currently have it as a linked table in my Access db.
I ran my query and found empty cells where there should be data. Looking at the linked table I am seeing #NUM! where there should be data. I went into the Excel file and the data is there with the little green indicator letting me know that the data is a number stored as text.
Access does not give me the option to format any of the data when I set it up as linked table.
I then converted the linked table to a local table. I played around with the different number formats and tried converted those fields to text (I do not need them to be a number). I imported the data using DoCmd.TransferSpreadsheet in VBA but I got import errors and it dropped the data from the cells where they are numbers stored as text.
I know I can manually go in an format the data in the sheet but this sheet has (90) fields. If they screw it up in one place it is only a matter of time until it is screwed up somewhere else.
How can I bring the data in without some of dropping out?
GETTING THESE GUYS TO KEEP THE DATA CLEAN IS IMPOSSIBLE SO PLEASE LETS NOT GET INTO THAT.