![]() |
#6
|
|||
|
|||
![]()
Dear macropod,
By getting inspired by you, I tried to create a macro in Ms Power point. I wanted a macro which after execution can apply underline, make it bold and color red the selected text. So I went to MS Word and recorded the macro. It worked as expected. When I copied the same procedure to MS Power point, it says "Object required." This is my macro: Sub aaaaaaa() Selection.Font.Color = wdColorRed ----> here it stops execution. If Selection.Font.Underline = wdUnderlineNone Then Selection.Font.Underline = wdUnderlineSingle Else Selection.Font.Underline = wdUnderlineNone End If End Sub Yes, I have selected some text in MS Power point before running the macro. This same idea works in MS Word but not in MS power point. If it works, it will be very helpful to me. Please help. Thank you. |
Tags |
paragraph character |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Red Pill | Word | 5 | 05-25-2012 01:06 PM |
character set | bobster | Word | 0 | 06-07-2011 10:17 AM |
![]() |
carolinason | Word | 6 | 10-30-2010 06:45 PM |
Junk characters (box-like characters) in Word file | Sashikala | Word | 1 | 04-20-2010 02:03 PM |
Character style stripped while applying paragraph style | sams_gates | Word | 0 | 08-29-2009 02:03 AM |