Link to home
Start Free TrialLog in
Avatar of Miss leah
Miss leahFlag for Israel

asked on

Microsoft.Office.Interop.Owc11 spreadsheet

Hi experts, I am using Microsoft.Office.Interop.Owc11.dll in my vb.net project
some properties dont work as expected and im looking for solutions:

ReportForm.Spreadsheet11.ActiveSheet.Range("a1:" & Chr(intReportColumns - 4 + 65) & 1).MergeArea.HAlignment = OWC.SheetHAlignEnum.ssHAlignCenter

ReportForm.Spreadsheet11.ActiveSheet.Columns(i).AutoFitColumns()

Thanks in advanced
ASKER CERTIFIED SOLUTION
Avatar of Scott McDaniel (EE MVE )
Scott McDaniel (EE MVE )
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Miss leah

ASKER

I will give it a try although I really need my code to look the same because its a big migration project from vb6 to .net..
I understand, but you'd do well to get away from those types of dependencies when migrating.