Access and Excel 2013
I have 2 Excel workbooks I ‘link’ to tables in Access. On my first attempt to set this up in Access, I noticed 10 of my 55 number columns were being displayed as text (left of cell). I checked the formatting of the table in Access and confirmed they were being linked as text. My fault, I went back to Excel and changed the formatting on the 10 columns to a ‘number’ format and refreshed the links in Access. When I opened the table in Access, now everything displayed as a number (right of cell) but when I checked the formatting, those 10 columns are still formatted as text.
Long story short on the rest of my sequencing, I combined 2 tables in an Access Query and tried changing the formatting in the Query, but cannot do that. I then exported the Query to another Excel workbook hoping that I could deal with the formatting issue in my final version of Excel, but it was worse! My data is now displayed as a number (right of cell) and is formatted as a number, but … I get the ’green error corner’ that shows the cell contains a number displayed as text! Even though it displays as a number, I get that error symbol. If I run an ‘ISNUMBER’ function on any of the cells, it returns as FALSE. Even though it is displayed and formatted as a number, I tried to ‘change’ the format to a number but that has no effect. If I copy and paste the values to a blank cell, they display as text, are formatted as ‘General’, and do not respond to attempts to change the formatting to Number. If I run the ISNUMNER test on the data in the original Excel workbook, it returns as TRUE indicating it is being stored as a number in the original workbook.
Out of curiosity, I tried importing the workbook into Access rather than linking and it is the exact same thing when exported. Even though importing allows me to change the column data type to ‘Number’ it still is exported as text.
I’ve been beating my head against the wall on this issue for about 4 hours now and I am stumped. None of this makes any sense to me and I’m hoping someone may have some advice on how to overcome this issue. Thanks to anyone who can offer advice!
I have 2 Excel workbooks I ‘link’ to tables in Access. On my first attempt to set this up in Access, I noticed 10 of my 55 number columns were being displayed as text (left of cell). I checked the formatting of the table in Access and confirmed they were being linked as text. My fault, I went back to Excel and changed the formatting on the 10 columns to a ‘number’ format and refreshed the links in Access. When I opened the table in Access, now everything displayed as a number (right of cell) but when I checked the formatting, those 10 columns are still formatted as text.
Long story short on the rest of my sequencing, I combined 2 tables in an Access Query and tried changing the formatting in the Query, but cannot do that. I then exported the Query to another Excel workbook hoping that I could deal with the formatting issue in my final version of Excel, but it was worse! My data is now displayed as a number (right of cell) and is formatted as a number, but … I get the ’green error corner’ that shows the cell contains a number displayed as text! Even though it displays as a number, I get that error symbol. If I run an ‘ISNUMBER’ function on any of the cells, it returns as FALSE. Even though it is displayed and formatted as a number, I tried to ‘change’ the format to a number but that has no effect. If I copy and paste the values to a blank cell, they display as text, are formatted as ‘General’, and do not respond to attempts to change the formatting to Number. If I run the ISNUMNER test on the data in the original Excel workbook, it returns as TRUE indicating it is being stored as a number in the original workbook.
Out of curiosity, I tried importing the workbook into Access rather than linking and it is the exact same thing when exported. Even though importing allows me to change the column data type to ‘Number’ it still is exported as text.
I’ve been beating my head against the wall on this issue for about 4 hours now and I am stumped. None of this makes any sense to me and I’m hoping someone may have some advice on how to overcome this issue. Thanks to anyone who can offer advice!