Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 211
Default Converting text data type to numeric

I am exporting data from ACCESS 2000 database to EXCEL via ACCESS VBA. The
datasource is a query.
There are numeric fields in the query but after exporting, the numeric data type is changed to text.

How do programmaticaly change the data type of the EXCEL columns.

I'm using the following statement after loading the data into an array.


oSheet.Range("A2").Resize(irows, icol).Value = vArray
vArray is defined as variant.


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
Converting time from text to numeric Eric Wixom[_2_] Excel Worksheet Functions 4 March 21st 08 06:56 PM
Converting Numeric values to Text shail Excel Worksheet Functions 2 September 5th 06 04:50 PM
converting text to numeric data babooz Excel Worksheet Functions 3 May 19th 06 08:14 AM
Converting Text into a Numeric Value and Totalling Shazbut Excel Worksheet Functions 1 May 10th 05 05:14 PM
Converting Text to Numeric Matt Excel Programming 2 January 23rd 04 02:58 AM


All times are GMT +1. The time now is 10:59 AM.

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

About Us

"It's about Microsoft Excel"