Excel

M

Mikk

I am trying to include an Excel spreadsheet as a popup.
I have the code to do this but would like to go further
and move the cursor to an exact worksheet. I am using:
Private Sub Command358_Click()
Dim objXL As Object
Set objXL = CreateObject("Excel.Application")
objXL.Visible = True
objXL.workbooks.Open ("file")
Set objXL = Nothing
End Sub

What additional line of code would I need?
 

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