Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
dcr dcr is offline
external usenet poster
 
Posts: 5
Default Export Access to Excel text field with numbers

After export from Access, the Excel column containing numbers and text has
green triangles in the cells because it is formatting the numbers as text. I
would like this column to export as General format.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default Export Access to Excel text field with numbers

You can change the numbers from text to real numbers, using one of the
techniques shown he

http://www.contextures.com/xlDataEntry03.html

Or, in Access, use the TransferSpreadsheet method to send the data, and
specify one of the later Excel versions.
You can do this by creating a macro, or writing some code, e.g.:

'======================
Sub SendTableToExcel()
DoCmd.TransferSpreadsheet acExport, _
acSpreadsheetTypeExcel9, "tblCustomers", _
"c:\Data\MyExcelFile.xls", True
End Sub
'===========================

Then, add a button on an Access form, to run the macro or the code.



dcr wrote:
After export from Access, the Excel column containing numbers and text has
green triangles in the cells because it is formatting the numbers as text. I
would like this column to export as General format.



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
import excel to Access has a problem with text field ABCBAC Excel Worksheet Functions 0 November 11th 06 08:09 AM
Export memo field in Access to Excel - data gets cut off cpurpleturtle Excel Discussion (Misc queries) 0 June 22nd 06 04:24 PM
Export to Access from Excel Secret Squirrel Excel Discussion (Misc queries) 0 February 7th 06 11:44 PM
preserve "-" when importing text field from access rfctkl Excel Worksheet Functions 1 September 9th 05 11:05 PM
export access to excel. change access & update excel at same time fastcar Excel Discussion (Misc queries) 0 June 24th 05 09:27 PM


All times are GMT +1. The time now is 07:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"