PC Review


Reply
Thread Tools Rate Thread

chart text position

 
 
=?Utf-8?B?Q2hyaXM=?=
Guest
Posts: n/a
 
      29th Jan 2007
Is there a way to set a text's position on a chart so that if the text is
referring to a cell the position of the text will always be aligned? I'm
running a macro thats linking text on a chart to a cell, and if the cell has
more or less characters the position of the text always changes. I would
like to left justify the text or something. I tried playing around with the
VBA code for this but it hasn't worked. Thanks.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      29th Jan 2007
aligned to what specifically? What can be used as an anchor point/reference
for the textbox?

--
Regards,
Tom Ogilvy


"Chris" wrote:

> Is there a way to set a text's position on a chart so that if the text is
> referring to a cell the position of the text will always be aligned? I'm
> running a macro thats linking text on a chart to a cell, and if the cell has
> more or less characters the position of the text always changes. I would
> like to left justify the text or something. I tried playing around with the
> VBA code for this but it hasn't worked. Thanks.

 
Reply With Quote
 
=?Utf-8?B?Q2hyaXM=?=
Guest
Posts: n/a
 
      29th Jan 2007
Well I would like to allign a text box left justified with the top of the
y-axis.


"Tom Ogilvy" wrote:

> aligned to what specifically? What can be used as an anchor point/reference
> for the textbox?
>
> --
> Regards,
> Tom Ogilvy
>
>
> "Chris" wrote:
>
> > Is there a way to set a text's position on a chart so that if the text is
> > referring to a cell the position of the text will always be aligned? I'm
> > running a macro thats linking text on a chart to a cell, and if the cell has
> > more or less characters the position of the text always changes. I would
> > like to left justify the text or something. I tried playing around with the
> > VBA code for this but it hasn't worked. Thanks.

 
Reply With Quote
 
=?Utf-8?B?Q2hyaXM=?=
Guest
Posts: n/a
 
      29th Jan 2007
OKAY I found the culprit

..AutoSize = True

This line needs to be .AutoSize = False

Now my boxes are alligned

"Chris" wrote:

> Is there a way to set a text's position on a chart so that if the text is
> referring to a cell the position of the text will always be aligned? I'm
> running a macro thats linking text on a chart to a cell, and if the cell has
> more or less characters the position of the text always changes. I would
> like to left justify the text or something. I tried playing around with the
> VBA code for this but it hasn't worked. Thanks.

 
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
text position on a chart =?Utf-8?B?Q2hyaXM=?= Microsoft Excel Misc 1 29th Jan 2007 01:45 PM
Chart text position =?Utf-8?B?Q2hyaXM=?= Microsoft Excel Misc 1 27th Jan 2007 02:39 AM
Re: chart text position Jon Peltier Microsoft Excel Programming 0 23rd Jan 2007 01:28 PM
how to draw crosshairs on a chart that go to the height and width of the chart and move with the cursor position? Steve Microsoft C# .NET 1 11th Sep 2006 02:41 PM
Miss- position of text box in chart eric Microsoft Excel Charting 1 11th Feb 2004 04:36 PM


Features
 

Advertising
 

Newsgroups
 


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