copy worksheet from xla to xls

N

ndalal

Hello:

I would like to copy an existing worksheet, which is hidden in an
add-in XLA and copy it to an
existing XLS file?

Can someone help?

I have tried many things, but most of them crash...so I'm stucked.

Thanks in advance...
Andy
 
D

Dave Peterson

This worked ok for me:

Option Explicit
Sub testme()
Workbooks("personal.xla").Worksheets("sheet1").Copy _
before:=ActiveWorkbook.Worksheets(1)
End Sub

Sheet1 wasn't a hidden worksheet in the addin.
 

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