Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Automation : Excel::Font : get_Font does not work

Hi all,
in very simple Excel Com Add-in, I want to change the font of the given
range by using Font-set_Bold(true). Unfortunately, I do not ga that
far. It throws when I do get_Font().

Object* ExcelAddinModule1::frumk(Object *rg)
{
Workbook *b;
Excel::Range *caller;
Range *incoming;

incoming=__try_cast<Range *(rg);
Excel::Font *ff=incoming-get_Font(); // <== never comes back !!!

}

On top of that; I would like to know from which cell my frumk function
has been called. Application-get_Caller thorws as well......

Any hint/suggestion is welcomed.
Cheers

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Automation : Excel::Font : get_Font does not work


Hello Vince,

Not likely you get an answer in this newsgroup (Excel Programming)
about a question regarding "C" level programming for the COM object in
Excel. You may want to try posting your question elsewhere. This group
deals with programming questions regarding Worksheet functions and VBA
(mostly).

Sincerely,
Leith Ross


--
Leith Ross
------------------------------------------------------------------------
Leith Ross's Profile: http://www.excelforum.com/member.php...o&userid=18465
View this thread: http://www.excelforum.com/showthread...hreadid=514049

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
Can't get bar code font to work in EXCEL 2003 Tony Excel Discussion (Misc queries) 3 December 5th 09 06:19 PM
DataLabel.Font.ColorIndex vs DataLabel.Text (Private Sub does not work in excel 2003) God Itself Charts and Charting in Excel 4 April 22nd 09 03:40 PM
excel 2003 shading cells and changing font colors does not work dave Excel Discussion (Misc queries) 1 March 13th 08 02:11 PM
Automation of Font Resizing Pitt Excel Discussion (Misc queries) 4 August 29th 05 11:28 PM
Automation of Font Resizing Mike Excel Discussion (Misc queries) 0 August 29th 05 09:50 PM


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