Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a series of shapes that include text. They are used to document
assumptions in various sheets. I have a macro (see simplified version below) that transfers the contents of these "Note" boxes to a sheet. Users sometimes format the text in the "Note" boxes. Is there a way, I can transfer the formatting along with the text? Sub TransferNotes() r = 1 For Each shp In Sheets("Staff Time").Shapes If Left(shp.name, 6) = "tbNote" Then For x = 1 To shp.TextFrame.Characters.Count Step 250 theText = shp.TextFrame.Characters(Start:=x, Length:=250).Text Next Sheets("Assumptions").Cells(r, 2).Value = Trim(theText) r = r + 2 End If Next shp End Sub ~~~~~~~~~~~~~~~ Thanks for the help. - John |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
rich text box in forms | Excel Discussion (Misc queries) | |||
Rich Text Boxes | Excel Worksheet Functions | |||
Can I copy cell contents to an autoshape as text using a macro? | Excel Programming | |||
Working with Rich Text Format | Excel Programming | |||
Rich Text Box | Excel Programming |