VBA Macro for font styles

G

GK80535

I'm trying to do this within the same macro, so I shouldn't hav
problems with the variable disappearing.

All my macro is trying to do is the following:

When I press ctrl+shift+O, the style of the selection changes to on
thing. When I press it again, it changes to something else. Once
cycle through the four options and I press it again, it just gives m
back what was there originally and the cycle starts over.

The macro is not complicated at all. I guess I just need a functio
that returns the font style of the current selection, but I haven'
been able to find one yet.

Can anyone help out
 
Top