ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how to change cell format using vba (https://www.excelbanter.com/excel-discussion-misc-queries/197469-how-change-cell-format-using-vba.html)

March

how to change cell format using vba
 
Hello All,

I would like to know how to change cell format using vba.

Please give me suggestion.


Thank you,

March

Don Guillett

how to change cell format using vba
 
The macro recorder can be your friend. Record a macro while doing it. Then
clean it up if desired.


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"March" wrote in message
...
Hello All,

I would like to know how to change cell format using vba.

Please give me suggestion.


Thank you,

March



Rick Rothstein \(MVP - VB\)[_1024_]

how to change cell format using vba
 
You would use the NumberFormat property for the range of cells you want to
have the same format. See the help files for the NumberFormat Property for
some examples.

Rick


"March" wrote in message
...
Hello All,

I would like to know how to change cell format using vba.

Please give me suggestion.


Thank you,

March




All times are GMT +1. The time now is 06:25 PM.

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