ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How to sent for cell: font size=7,text format in VBA (https://www.excelbanter.com/excel-discussion-misc-queries/39270-how-sent-cell-font-size%3D7-text-format-vba.html)

netx

How to sent for cell: font size=7,text format in VBA
 
I am losting "font size" and "text format" in Cells
after I do .Range().Clear
I wonder how to set in VBA:
- font size for cell
- formatting "text" for cell
Excel XP.

I am not sure about translation of above because I use Polish version of
Excel.

Thanks for help,

Mark



Ron de Bruin

Hi

Maybe you can use ClearContents instead

If not post back and I give you a example

--
Regards Ron de Bruin
http://www.rondebruin.nl


"netx" wrote in message ...
I am losting "font size" and "text format" in Cells
after I do .Range().Clear
I wonder how to set in VBA:
- font size for cell
- formatting "text" for cell
Excel XP.

I am not sure about translation of above because I use Polish version of
Excel.

Thanks for help,

Mark





All times are GMT +1. The time now is 02:40 PM.

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