LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default Chart Documenting Via VBA Questions


Excel 2003

I've got a -lot- of Excel charts to document. I'm doing it all via VBA
procedures and saving the results into an Access table. Access VBA is
my main proficiency, so I've got to learn a lot about the Excel Object
Model. I've tracked down a lot of data, but here are a couple I just
can't find.

1. The formula used in a ChartTitle. I see it in the formula bar when
it's selected, but everywhere I look it only returns the currently
showing text: the formula result. I *need* the formula, and I've got to
get it using VBA. It's obviously saved somewhere!

2. The value that will be returned by each Option Button in each group
of Option Buttons. I see it in the LinkedCell (1, 2, 3, 4, etc., as I
click each button), but no matter where I try in VBA, all I get is 1
for checked and -4146 for unchecked. Surely Excel can tell me what that
button will return. In Access all I'd have to do is
![optionbutton].OptionValue. (I'd also like to be able to change it,
but that may be asking too much!)

I realize #2 could be retrieved indirectly by looping through the
buttons, checking each, then reading the result from the cell, but it's
got to be somewhere. For #1 I'd even settle for jumping to the formula
bar and using API calls to put it into, then retrieving it from the
Clipboard, but I don't even know how to get to the Formula bar.

I can see by my research that question #1 has been asked before, but
nowhere could I find that it was answered. Any help would be greatly
appreciated.


--Vic

(Also tried: PUP v6 Chart Report returns result, not formula.)


--
victorcamp
------------------------------------------------------------------------
victorcamp's Profile: http://www.excelforum.com/member.php...o&userid=35923
View this thread: http://www.excelforum.com/showthread...hreadid=557726

 
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
Activating a Chart object Hari Prasadh Charts and Charting in Excel 6 August 2nd 05 07:22 PM
Pivot Chart Questions Amol Joshi Charts and Charting in Excel 1 July 8th 05 12:02 AM
Urgent Chart Assistance Brent E Charts and Charting in Excel 1 May 10th 05 09:09 AM
Urgent Chart Questions Brent E Excel Discussion (Misc queries) 0 May 9th 05 11:01 PM
Urgent Chart Assistance Requested Brent E Excel Discussion (Misc queries) 0 May 9th 05 11:01 PM


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