Avatar of crcsupport
crcsupport
Flag for United States of America asked on

Formatting Excel sheet in VB.net 2008

I used to have the following code in VB 2005, but it does not work in VS 2008:

        Dim ExcelOpt As New ExcelDataOnlyFormatOptions ' this line gives an error in VS 2008

            ExcelOpt.MaintainRelativeObjectPosition = True
            ExcelOpt.ExportObjectFormatting = True
            ExcelOpt.MaintainColumnAlignment = True

Any ideas how to fix it ?

Thank you
Microsoft ExcelVisual Basic.NET

Avatar of undefined
Last Comment
crcsupport

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Nasir Razzaq

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
crcsupport

ASKER
I've requested that this question be deleted for the following reason:

i think solve the problem
crcsupport

ASKER
yes , i did
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck