ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   the format data - not formatted (https://www.excelbanter.com/new-users-excel/83931-format-data-not-formatted.html)

nnv1

the format data - not formatted
 

Hi,
Could you help me?

I have an excel file with data daily imported from SQL via DTS.

I want to format number data.

I have a custom format for a column _-* #,##0.00$_-
I define it in ActiveX task as

objXL.Columns(11).NumberFormat = "_-* #,##0.00$_-"

And I want to see 92.00$, but I see only 92, although the column
format is defined!
Only if I do double click on a cell and Enter - the number become
formatted.

How can I format apply format for ALL my data by using
methods/properties of Excel.Application object (script), not re-enter
data into cells manually.
Thank you.


--
nnv1
Posted from - http://www.officehelp.in



All times are GMT +1. The time now is 01:32 AM.

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