Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default manipulating a textbox in charting area

Hi,

I want to manipulate the text of a textbox (created with drawing) on a
chart. How to do this in VB. How to refer to the textbox? Is it possible
at all?

I tried to create a textbox control on the chart. This works fine and I
also can access it by VB but since the chart is linked to a word-file,
the textbox control is not visible in word.

Any idea?

Thanx,
Peter
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default manipulating a textbox in charting area

oxlApp.Workbooks("Mybooks.xls").Charts("myChart"). Textboxes(1)

--
Regards,
Tom Ogilvy


"Peter Hafner" wrote in message
...
Hi,

I want to manipulate the text of a textbox (created with drawing) on a
chart. How to do this in VB. How to refer to the textbox? Is it possible
at all?

I tried to create a textbox control on the chart. This works fine and I
also can access it by VB but since the chart is linked to a word-file,
the textbox control is not visible in word.

Any idea?

Thanx,
Peter



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default manipulating a textbox in charting area

Tom Ogilvy wrote:
oxlApp.Workbooks("Mybooks.xls").Charts("myChart"). Textboxes(1)

Thanks for the hint,


unfortunately I can't make it work. Could you help me out with some code?

I need to update the textbox automatically so the value in a single cell.


Private Sub Worksheet_Change(ByVal Target As Range)

oxlApp.Workbooks("Mybooks.xls").Charts("myChart"). Textboxes(1) = C5

End Sub


Thanks,

Peter



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
Disappearing Textbox at the bottom area of a chart Pascal.H Charts and Charting in Excel 0 November 4th 08 03:37 PM
defining a variable-size worksheet area for charting z.entropic Excel Worksheet Functions 0 August 15th 07 06:18 PM
Custom charting - Stacked charting with a line Randy Lefferts Charts and Charting in Excel 3 March 3rd 05 03:10 AM
manipulating textbox in chart Peter Hafner Charts and Charting in Excel 0 January 31st 05 10:55 AM
Textbox Bug? Missing/delayed update of textbox filled via VBA MarcM Excel Programming 0 November 4th 04 05:47 PM


All times are GMT +1. The time now is 07:07 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"