Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default drawing text on a worksheet

I would like to add a block of text on top of a worksheet (Excel XP) using VB
Express 2008. When I use .AddTextBox to add text to a shape, I seem to be
limited to 255 characters, and I don't know how to control the font
attributes. Anyone with more experience who can point me to a better
solution? Thanks.
--
Dave Ackmann
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default drawing text on a worksheet

You could add a Word Object to get more characters

Set WordObj = ActiveSheet.OLEObjects.Add( _
ClassType:="Word.Document.8", _
Link:=False, _
DisplayAsIcon:=False)


"DAACKM" wrote:

I would like to add a block of text on top of a worksheet (Excel XP) using VB
Express 2008. When I use .AddTextBox to add text to a shape, I seem to be
limited to 255 characters, and I don't know how to control the font
attributes. Anyone with more experience who can point me to a better
solution? Thanks.
--
Dave Ackmann

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
Drawing Objects with vba and workbook/worksheet eholz1 Excel Programming 3 April 10th 08 03:35 PM
How to Place a Drawing Object on a Worksheet as a Control? SteveM Excel Programming 6 January 21st 08 01:19 PM
Text box in drawing toolbar in Excel B.W. New Users to Excel 3 April 16th 06 07:28 AM
how to replace drawing with text in that cell Hshah Excel Programming 3 September 12th 05 02:28 PM
inserting a VISIO drawing into a worksheet Kurt Schoenrock Excel Worksheet Functions 1 August 24th 05 11:35 PM


All times are GMT +1. The time now is 02:28 PM.

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"