Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Fit numeric value with Excel VBA

Posted on 2015-01-25
4
Medium Priority
?
80 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 49

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 49

Accepted Solution

by:
Martin Liss earned 2000 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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

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…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

618 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