Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

[VB 2010] Excel numbers starting with 0

$
0
0
Good day. I need help with my VB program.

I have a program coded to work similarly like Excel's Vlookup function.

However, I'm facing problems with numbers that starts with a zero (e.g. 012).
It gives me results of any existing results that has any number other than zero (e.g. results from 712)

When I double click the box containing the numbers, the zero goes missing (012 -> 12).
I formatted it into text in excel so the zero stays, but the results still comes from 712.

Is there any solution from this? Do I have to modify the VB codings or it's excel settings?

Appreciate the help. Thanks.

Viewing all articles
Browse latest Browse all 27554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>