Copy a page from an xla file

A

Andrew Bourke

Hi
When you set the property IsAddin = true for an xla file, any workbook
pages become invisible to normal users.
Is it possible to easily copy one of those 'invisible' pages to another
opened, normal xls file ? This page to copy might be an update for an
existing page in the xls file.

TIA

Andrew
 
D

Dave Peterson

Workbooks("youradd.xla").Sheets(1).Copy _
before:=ActiveWorkbook.Sheets(1)

or

Workbooks("youradd.xla").Sheets("SomeSheetNameHere").Copy _
before:=ActiveWorkbook.Sheets("anothersheetnamehere")
 

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