guptakvn
August 31st, 2001, 12:48 AM
Dear Gurus,
I am using Excel2000 for printing reports of an Visualbasic application. I have included the references (excel5.0 reference)in my project. I am not able to get the properties like
.cells(1,1).width and so on. I am able to access the cell and enter data into it. But not the width property or the font property of the cell and so on. What else should i include.
The other problem is :
I am showingthe excel worksheet when a button is clicked. by using xlsheet.application.visible=true . after the application is closed and i click the button again excel is unable to show the sheet.
in the click event i have added the code like
set xlsheet = xlbook.worksheets.add
Please clarify urgently.
Thank you.
I am using Excel2000 for printing reports of an Visualbasic application. I have included the references (excel5.0 reference)in my project. I am not able to get the properties like
.cells(1,1).width and so on. I am able to access the cell and enter data into it. But not the width property or the font property of the cell and so on. What else should i include.
The other problem is :
I am showingthe excel worksheet when a button is clicked. by using xlsheet.application.visible=true . after the application is closed and i click the button again excel is unable to show the sheet.
in the click event i have added the code like
set xlsheet = xlbook.worksheets.add
Please clarify urgently.
Thank you.