LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Textboxes in Excel 2007 Beta 2 Macros

I think I have 2 problems with textboxes in Excel 2007.

This line of code used to work in old versions:

ActiveChart.Shapes.AddTextbox(msoTextOrientationHo rizontal, 415, 75.01
, 245, 17).Select
Selection.Characters.Text = "My Text Blah Blah"

But now, it does not work in Excel 2007 Beta 2. (Hangs up on the first
line.) However, if I change "ActiveChart" to "ActiveSheet", and then
click over to a non-chart sheet, it works fine.

Next problem. I try record macros so Excel will tell me how to do it,
but it seems it does not record the TextBox insert steps. Whether it
be in a chart or sheet.

Bottom line, I'd like to get some form of text labels on a bar chart.
Any solution is appreciated.

 
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
Excel 2007 Beta Kieron Excel Discussion (Misc queries) 1 February 22nd 07 01:25 PM
Excel 2007 Beta Version Christian Excel Discussion (Misc queries) 1 September 17th 06 01:41 AM
Excel 2007 Beta HSalim[MVP] Excel Programming 1 June 10th 06 05:57 PM
Access Macros in Office 2007 Beta 2 ordnance1 Excel Discussion (Misc queries) 3 May 27th 06 01:03 AM
Excel 2007 Beta - can't edit macros Rick L Excel Discussion (Misc queries) 0 May 26th 06 04:21 PM


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

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"