ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to force number formats ? (https://www.excelbanter.com/excel-programming/276781-how-force-number-formats.html)

Milind

How to force number formats ?
 
My file has various cells filled with computed values, of different number
formats. But even after specifying them like,

Range( ...).Select
Selection.NumberFormat = ...

I find only one to two out of around six instructions are adhered to. I even
tried first selecting whole sheet, applying "Number" format, deselecting and
then applying other formats in turn of their appearance, but of no avail.
Any ideas ?

Milind


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.514 / Virus Database: 312 - Release Date: 8/28/2003




All times are GMT +1. The time now is 04:24 AM.

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