Solved

how to show 0% in excel with a vb.net

Posted on 2014-11-21
1
130 Views
Last Modified: 2014-11-21
My code is not allowing me to populating 0%. The cell is just showing % for 0%. Any tips?

Code:

    .Range("D:D").NumberFormat = "##%"
0
Comment
Question by:cmed
1 Comment
 
LVL 20

Accepted Solution

by:
dsacker earned 500 total points
ID: 40458632
Try:

.Range("D:D").NumberFormat = "#0%"
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
vb.net and creating a class 5 31
Help with error in Query 2 39
System.net.Sockets Error 5 39
Need help with a query 3 39
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question