Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vbscript change values from excel into integer

Status
Not open for further replies.

cowcool

Technical User
Apr 16, 2003
8
ID
I finally able to read values from excel file, there is however one big problem (have spent 1 full day just to solve this problem)

The issue is vbscript see all numbers in excel file as integer

e.g.
=====
0.5 is treated as 5
1.75 is treated as 175
and so on .......

I Have tried csng, cdbl .... but it is not working, VBScript seems to ignore csng and cdbl in this case.

How to solve this problem?

Thx!!!



 
Any chance you could post the relevant code ?

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top