Change Sheet in the OWC Spreadsheet control

R

raj

I need the quick help....

How can we switch to a different sheet in vb.net; for example I am binding a
4 sheets excel workbook to the OWC control and from the VB.Net code I should
be able to switch to any sheet dynamically.

Thanks,
 
R

raj

I got it and here is the code


Me.AxSpreadsheet1.ActiveWorkbook.Worksheets(strModel).Activate()
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top