Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
two ways: 1.Temporary variables - either store ALL different font styles in temporay variables - restore property by property afterwards - saving these information can be done in the same way as I showed with the background color :-) 2. Use a hidden sheet or a helper cell (e.g. cell IV1) where you copy your formats with pastespecial and restore it from there. Drawback: this restores all format information -- Regards Frank Kabel Frankfurt, Germany GK80535 wrote: I'm not looking to save and restore the background color of the selection. I'm looking to save and restore the font STYLE. So, if the font style were red with italics, I want to save and restore that. If it were blue and bold size 15, I want to save and restore that. Does anyone know a function that returns the current selection's font style? So, is there a function for which I could do this: dim myVariable = returnStyleFunction() ??????? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Changing font style and color using VBA | Excel Discussion (Misc queries) | |||
Change the Font Style in VBA | Excel Discussion (Misc queries) | |||
how do i get font style back on toolbar? | Excel Discussion (Misc queries) | |||
Icon button - font/style | Excel Discussion (Misc queries) | |||
Toggle Font Style Macro | Excel Programming |