worksheet opening problem

A

AlexD

I’m trying to do the following:
Dim xlApp As Excel.Application
Dim xlBook As Excel.Workbook
Dim xlSheet As Excel.Worksheet

Set xlApp = CreateObject("Excel.Application")

Set xlBook = xlApp.Workbooks.Open("WorkBookName")

Set xlSheet = xlBook.Worksheets("WorkSheetName")

xlSheet.Visible = xlSheetVisible

But, I cannot make the spreadsheet visible (to open and
see it).

Can anybody help me with it?

Thanks
 

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