Hi,
i am doing some calculations using vba in excel, i need to know how to set the cell format to 'accounting' in vba ?
thanks for the help
sam
Hi,
i am doing some calculations using vba in excel, i need to know how to set the cell format to 'accounting' in vba ?
thanks for the help
sam
The easiest way to check for code like this is to use the macro recorder
![]()
ActiveCell.NumberFormat = "_($* #,##0.00_);_($* (#,##0.00);_($* ""-""??_);_(@_)" End Sub
Hope that helps.
RoyUK
--------
For Excel Tips & Solutions, free examples and tutorials why not check out my web site
Free DataBaseForm example
Perfect !!, works like a charm, thanks Roy for your help !
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks