473,387 Members | 1,530 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

Feb 18 '06 #1
0 1046

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Jonas | last post by:
This works fine in Win XP but does not work at all in Win 98. Private WithEvents objIExplorer As InternetExplorer I have to do it like this to get it to work in Win 98 Dim objIExplorer As...
4
by: Benny Alexander | last post by:
Dear All, I have a problem, which needs your ideas. We have a excel document, which is been updated regularly. After everyday updating, we export as HTML file and upload it. As a ASP...
1
by: trialproduct2004 | last post by:
Hi all i am having application storing data in excel sheet. This applicaton is in C# .net. I want to update rows of excel sheet in C#. Can some one help me how to do it. please help me. Thanks...
1
by: John Bailo | last post by:
I wrote a c# web service that creates an Excel spreadsheet. Even though I follow all the formal procedures for closing the app and finalizing, an instance of Excel still remains in memory. Is...
0
by: KNN | last post by:
I have created a report in access 2003 using a query. Used some of the fields to display under page header. Used others to display under group headers and used the remaining under detailed...
1
by: datttanand | last post by:
how to close excel work book in java script?
1
by: imtmub | last post by:
I have wko(Workorder) table exist in my ERP. Now i have some excel sheet that contains some new workorder(more than1000 Records). Now i need to insert all the records which present in the sheet to...
0
by: tonyhyde | last post by:
Hi Guys I really need help for this. I have Create an Excel file, in order to not let users to change anything, i have it protect by useing the VB. However, some of the users want to...
7
by: Anil Gupte/iCinema.com | last post by:
I am trying to create a simple FlashPlayer in VB. I used the following: Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.