Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Lol, I'll answer me own question! Sorry I asked in excel a Word question... Sub sodsaS() With ActiveDocument.Content.Find .ClearFormatting .ParagraphFormat.OutlineLevel = wdOutlineLevel2 '---change numbers according to outline level Do While .Execute(FindText:="", Forward:=True, _ Format:=True) = True With .Parent .StartOf Unit:=wdParagraph, Extend:=wdMove .InsertAfter "#" '-----is what gets inserted in the beginning! .Move Unit:=wdParagraph, Count:=1 End With Loop End With End Sub Good luck people! lol -- Ambrosia ------------------------------------------------------------------------ Ambrosia's Profile: http://www.excelforum.com/member.php...o&userid=28146 View this thread: http://www.excelforum.com/showthread...hreadid=524664 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Linking table in Excel to word | Links and Linking in Excel | |||
how do you get Word to open documents in it's own window(s)? | Excel Discussion (Misc queries) | |||
Print Excel charts in Word 2003 with fixed size | Charts and Charting in Excel | |||
How to embed Word document into Excel and retain sizing, formatti. | Excel Discussion (Misc queries) | |||
Embedded word doc changed to image-need to change back to word. | Excel Discussion (Misc queries) |