Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default COM Exception when read Font.FontStyle property of Style object

I got an Exception after reading Font.FontStyle property of Style Object.

here are the details of the Exception:
Type : System.Runtime.InteropServices.COMException
Message : Unable to get the FontStyle prop0erty of the Font class
ErrorCode : -2146827284
Trace:
at System.RuntimeType.ForwardCallToInvokeMember(Strin g memberName,
BindingFlags flags, Object target, Int32[] aWrapperTypes,
MessageData& msgData)
at Microsoft.Office.Interop.Excel.Font.get_FontStyle( )

Why I'm getting this exception?

Regards,
Raja
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
textbox font style Bert[_7_] Excel Programming 7 May 12th 08 03:36 AM
Change the Font Style in VBA justme0010[_2_] Excel Discussion (Misc queries) 1 January 15th 08 04:07 AM
VSTO2005 - HResult Exception obtaining Range Object Jay Pondy Excel Programming 1 September 16th 05 02:04 PM
macro_change font style tommy_gtr[_2_] Excel Programming 6 August 10th 05 02:31 PM
macro_change font style dominicb[_84_] Excel Programming 1 August 9th 05 01:51 PM


All times are GMT +1. The time now is 08:58 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"