New Post: Addin for VBA IDE gives error on cast
Hi All, I was trying to use NetOffice to create a VBE addin that can be used in the VBA IDE (rather than Excel/PowerPoint etc.) However, when loading the addin (i.e. when it hits OnConnect), I receive...
View ArticleNew Post: Addin for VBA IDE gives error on cast
NetOffice spend [Wrapper] assemblies. please try this: _VBE = new NetOffice.VBIDEApi.VBE(Nothing, application) Sebastian
View ArticleNew Post: Addin for VBA IDE gives error on cast
Ahhh thank you! I just changed the code to use your suggestion and it works perfectly! Sorry, I must read more of the documentation :) Thank you for such a great library!
View ArticleNew Post: FilteredRange using non-contiguous data
I have been trying to select a range of data from my Excel solution using the Worksheet.AutoFilter.Range property. Much to my disappointment, I discovered this still returned all cells, even ones I had...
View ArticleNew Post: Can't delete file after renaming due to Word file handle still present
Here's the code snippet:Private wordApp As NetOffice.WordApi.Application Private wordDoc As NetOffice.WordApi.Document Private Sub btnSaveAs_Click(sender As Object, e As EventArgs) Handles...
View ArticleNew Post: Can't delete file after renaming due to Word file handle still present
my first test works fine ( i use SaveAs instead of SaveAs2 because i use OfficeXP) i do a new test on my workplace with office 2010 (monday) i have modified the example01.vb from the NetOffice...
View ArticleNew Post: Can't delete file after renaming due to Word file handle still present
btw: please tell me your operating system (windows version)
View ArticleNew Post: Can't delete file after renaming due to Word file handle still present
What's the difference between SaveAs & SaveAs2? I tried both & got the same results. As for the document format, the original code expects multiple formats so it looks something like this:Dim...
View ArticleCreated Unassigned: NetOffice 1.6.0 - ExcelApi. Range and Hidden [20087]
Hi,I use NetOffice to edit an Excel file.When I try to change hidden property, an exception is thrown.Code:``` sheetCadEmp.Cells[1].Hidden = false;```Error:```See inner exception(s) for...
View ArticleNew Post: STA or MDA Threads
Hey guys, maybe this is a noobquastion, but what has better performance with netoffice or COM MTA or STA Threads?
View ArticleNew Post: Error interioerability
Error 2 The type of interoperability 'NetOffice.WordApi.Application' can not be embedded. Use the applicable interface instead. C: \ TFS \ External \ PAY-WRK \ PAY-WRK \ PayWrk \ UserControls \ Clients...
View ArticleNew Post: Error interioerability
go the project references and disable the option 'embed interop types' for all NetOffice assemblies. 'Sebastian
View ArticleNew Comment on "Tutorial01"
Jan, I agree. The 'using' statement would indeed make it obvious to the reader of the code where the RCW's are being created and released and NetOffice examples should show this. However in the case of...
View ArticleCommented Unassigned: NetOffice 1.6.0 - ExcelApi. Range and Hidden [20087]
Hi,I use NetOffice to edit an Excel file.When I try to change hidden property, an exception is thrown.Code:``` sheetCadEmp.Cells[1].Hidden = false;```Error:```See inner exception(s) for...
View ArticleNew Post: STA or MDA Threads
its not realy important, the STA type is a bit faster maybe. but its a very very small difference. *Sebastian
View ArticleCommented Unassigned: NetOffice 1.6.0 - ExcelApi. Range and Hidden [20087]
Hi,I use NetOffice to edit an Excel file.When I try to change hidden property, an exception is thrown.Code:``` sheetCadEmp.Cells[1].Hidden = false;```Error:```See inner exception(s) for...
View ArticleCommented Unassigned: NetOffice 1.6.0 - ExcelApi. Range and Hidden [20087]
Hi,I use NetOffice to edit an Excel file.When I try to change hidden property, an exception is thrown.Code:``` sheetCadEmp.Cells[1].Hidden = false;```Error:```See inner exception(s) for...
View ArticleCommented Unassigned: NetOffice 1.6.0 - ExcelApi. Range and Hidden [20087]
Hi,I use NetOffice to edit an Excel file.When I try to change hidden property, an exception is thrown.Code:``` sheetCadEmp.Cells[1].Hidden = false;```Error:```See inner exception(s) for...
View ArticleNew Post: FilteredRange using non-contiguous data
hey bob, not sure how i can help you. where you from?
View Article