LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,549
Default why does s.TextFrame.Characters.Text work only sometimes?


Sometimes the help file is wrong and sometimes things just don't work.
I just remember (quite awhile back) going thru a lot of trials with group
shapes before I found something that worked.
I then saved the code for future reference. Also, I recall that the array
used to create the ShapeRange must be a variant data type or things fail.
Jim Cone
Portland, Oregon


"LurkingMan"

wrote in message
Thanks Jim. Ungrouping and regrouping lets it all work.

I saw this in the VB help and was led to believe I could work with objects
without ungrouping them.
GroupShapes Collection Object
Represents the individual shapes within a grouped shape. Each shape is
represented by a Shape object. Using the Item method with this object, you
can work with single shapes within a group without having to ungroup them.

Hmm, there's also the point that I could get .Name from the shape without
ungrouping. Do you happen to know why one member function works and another
doesn't?
--
In theory, there is no difference between theory and practice.
In practice, there is no similarity.


 
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
Center text in a shape textframe DaveL Excel Programming 4 May 19th 08 04:50 PM
use VBA to tell if all the text in a TextBox or TextFrame can be displayed [email protected] Excel Programming 1 March 15th 07 04:26 AM
TextFrame.Characters.Text returns truncated string Dennis Excel Programming 2 October 1st 06 11:23 PM
cell to textframe using characters object Simon Prince Excel Programming 3 February 25th 04 06:10 AM
.TextFrame.Characters.Text property readOnly in function?? VB_Help Excel Programming 1 August 27th 03 05:16 PM


All times are GMT +1. The time now is 10:54 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"