Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 69
Default textbox position

I am trying to create macro that adds several textboxes to a chart. I would
like to position the textboxes with xy coordinates. Another thing I would
like to do is use a midpoint range for the x coordinate. So if x was a date
range starting 01/01/2006 and ending 01/31/2006 I would want to use
01/15/2006 for the x coordinate. I am using names for the x , y. Here is a
quick example for adding text boxes, but I am stuck on positioning the box.
Thanks!!

With ActiveChart.TextBoxes.Add(340, 212, 257, 17)
.Select
.AutoSize = True
.Formula = "='characters'!$A$2"
End With

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
How can I lock the position of a textbox? Cynthia Excel Discussion (Misc queries) 1 January 12th 07 03:24 PM
Textbox changes position on a copied excel-sheet Hanspeter W. Excel Discussion (Misc queries) 0 July 1st 06 09:41 PM
textbox position Mona Charts and Charting in Excel 1 February 16th 06 05:01 AM
Position of CellCursor on Screen (absolute position) [email protected] Excel Programming 1 November 23rd 05 02:23 AM
Textbox moves position when Printing? Rugdoody Excel Discussion (Misc queries) 1 September 21st 05 09:42 PM


All times are GMT +1. The time now is 11:31 AM.

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"