ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   DataTable number format (https://www.excelbanter.com/excel-programming/321348-datatable-number-format.html)

MB

DataTable number format
 
Hi,

I have a chart that I populate from arrays thru VBA code. The DataTable for
the chart shows the values as they are entered in the array. Is there a way
to have the values in the DataTable shows in the format "0.00%"?? please help!

I tried to use the FormatPercent function, the NumberFormat function, Format
function..etc. with no success.
Any help will be greatly appreciated.
Thanks,
MB

Chip[_3_]

DataTable number format
 
This didnt work (after selecting the cells):
Selection.NumberFormat = "0.00%"


MB

DataTable number format
 
I am not reading from cells but reading from arrays!

"Chip" wrote:

This didnt work (after selecting the cells):
Selection.NumberFormat = "0.00%"




All times are GMT +1. The time now is 07:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com