Solved

Fit numeric value with Excel VBA

Posted on 2015-01-25
4
72 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 46

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 46

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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

772 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