Solved

Fit numeric value with Excel VBA

Posted on 2015-01-25
4
76 Views
Last Modified: 2015-01-25
How to format or fit the numeric value with Excel VBA such that display  12.4 and 112.56 will be aligned properly

    12.40
 112.56
0
Comment
Question by:AXISHK
  • 2
  • 2
4 Comments
 
LVL 47

Expert Comment

by:Martin Liss
ID: 40569974
Forms cells then justify right
0
 

Author Comment

by:AXISHK
ID: 40569980
The Excel need to export to CSV to integrate with another application as display value. The numeric value will be converted to string but we find that it can't be aligned properly.

Tks
0
 
LVL 47

Accepted Solution

by:
Martin Liss earned 500 total points
ID: 40570007
After you export it, if you import it back to Excel does it line up?
0
 

Author Closing Comment

by:AXISHK
ID: 40570072
Tks
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

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

685 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