LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 64
Default Editing text in text box grouped within a trapezoid

Hi,

My macro fails when I try to have text within a textbox that is grouped with
a trapezoid (Autoshape). The text box is contained with the trapezoid.
What's driving me crazy is that I can update the text box manually when they
are grouped, but the macro fails when it tries to do the same thing. Is
there anyway to update the text box without ungrouping and then regrouping?
I want to avoid this because the group number incremements every time you
re-group and I remember reading that when an object number gets too large,
the macro will fail. Below is my code -- thanks in advance for your help!!

Sub updatewhengrouped()

ActiveSheet.Shapes("Text Box 7").Select
Selection.Characters.Text = "Always thought..."
Range("A1").Select

End Sub
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Editing text after concatenate Fozeye Excel Worksheet Functions 3 May 20th 23 03:47 AM
Editing Text Help Excel Discussion (Misc queries) 4 October 22nd 07 07:24 PM
Changing Text in grouped shapes sebastienm Excel Programming 1 August 1st 04 02:54 PM
Editing text file Foss Excel Programming 3 June 3rd 04 02:27 PM
Tab go into the editing text box not next object Shu Excel Programming 2 April 26th 04 12:44 AM


All times are GMT +1. The time now is 07:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"