Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default insert method of Character class failure (error 1004)

Building an organization diagram. Trying to insert text into each child node.
Program is crashing on insertion of text into the Character object... Here is
a snippet..

Set dgnRoot = shpDiagram.DiagramNode.Children.AddNode

dgnRoot.TextShape.TextFrame.Characters.Insert ("my_string")

I have also pasted the following from the library reference
http://msdn2.microsoft.com/en-us/lib...ffice.11).aspx

In the above, the Character.Text property is set, though that too generates
an error as the property is read-only.

Any direction would be appreciated.
Reply
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
Error 1004 Copy method of worksheet class failed Ayo Excel Discussion (Misc queries) 3 March 28th 08 02:05 PM
Runtime 1004 error -- insert method of range class failed. tish Excel Discussion (Misc queries) 1 June 1st 07 04:04 PM
Error 1004 Paste method of Worksheet class failed skvabbili Excel Programming 1 May 4th 06 11:03 PM
Error 1004: Calculate Method of Range Class Failed Dan Winterton[_2_] Excel Programming 6 October 13th 05 10:19 PM
RT Error 1004, Select method of worksheet class failed Dana Sherbondy Excel Programming 2 October 1st 04 03:55 PM


All times are GMT +1. The time now is 04:52 AM.

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

About Us

"It's about Microsoft Excel"