Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42732

[RESOLVED] VBA Help.. Newbie warning!

$
0
0
Hello Everyone.

Im not a complete novice at VB but it has been almost 10 years since my last project written in VB / VBA.

Basically im doing a very simple user GUI for a member of my team using an excel SS (that they have developed) and creating a front end for it..
99% of the program is now working but im confused / stumped by one of two little things that just arnt going my way.

My biggest issue, which really is just a 'neatness' thing is the numeric cells that i have on the front end are displaying numbers in both scientific format and standard format.
Im dealing with numbers which are very small e.g. 1.397E-14 and some of these are being displayed in scientific format, and some in standard format.. :(

the coding for all the cels is identical so am not quite sure why some cells are and some arnt displaying scientific format.

do i need to be formating the cell to a scientific display before i draw the information from the database ?
something like:


Sub Format_Cell_Scientific()

CTF1.NumberFormat = "0.00E+00"

End Sub


or am i barking up the wrong tree as the above doesnt seem to work with minor alterations here and there

thanks in advance :)

Smerf

Viewing all articles
Browse latest Browse all 42732

Trending Articles



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