Solved

Fit numeric value with Excel VBA

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
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 will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
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…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now