PC Review


Reply
Thread Tools Rate Thread

drawing text on a worksheet

 
 
DAACKM
Guest
Posts: n/a
 
      17th Sep 2008
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 With Quote
 
 
 
 
Joel
Guest
Posts: n/a
 
      18th Sep 2008
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 With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Position of drawing object on Excel-worksheet H.G. Lamy Microsoft Excel Programming 3 27th Jan 2010 02:28 PM
Drawing Objects with vba and workbook/worksheet eholz1 Microsoft Excel Programming 3 10th Apr 2008 03:35 PM
How do i insert a text on a drawing, still seeing the drawing ? =?Utf-8?B?Y20yMDA1NzA=?= Microsoft Word Document Management 2 31st Jul 2006 01:03 AM
System.Drawing For Drawing Text Images jjbutera@hotmail.com Microsoft ASP .NET 1 9th Jan 2006 09:55 PM
inserting a VISIO drawing into a worksheet =?Utf-8?B?S3VydCBTY2hvZW5yb2Nr?= Microsoft Excel Worksheet Functions 1 24th Aug 2005 11:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:20 AM.