PC Review


Reply
Thread Tools Rate Thread

Copy a page from an xla file

 
 
Andrew Bourke
Guest
Posts: n/a
 
      30th Jun 2008
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
 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      30th Jun 2008
Workbooks("youradd.xla").Sheets(1).Copy _
before:=ActiveWorkbook.Sheets(1)

or

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



Andrew Bourke wrote:
>
> 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


--

Dave Peterson
 
Reply With Quote
 
Andrew Bourke
Guest
Posts: n/a
 
      30th Jun 2008
Thanks Dave, it works.

Andrew


Dave Peterson wrote:
> Workbooks("youradd.xla").Sheets(1).Copy _
> before:=ActiveWorkbook.Sheets(1)
>
> or
>
> Workbooks("youradd.xla").Sheets("SomeSheetNameHere").Copy _
> before:=ActiveWorkbook.Sheets("anothersheetnamehere")

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I copy a paragraph from web page to excel file? Convert94 Microsoft Excel New Users 2 16th Sep 2008 04:09 PM
how do i copy page setup settings of an file to every word file? =?Utf-8?B?Z2FuZXNo?= Microsoft Word New Users 1 19th Oct 2007 08:13 AM
copy web page to file Stan Windows XP General 7 16th Jan 2006 08:28 PM
How to copy web page to word file Russ Microsoft Word New Users 1 15th Jan 2004 03:44 AM
How to Copy a File within an ASP.NET-Page =?ISO-8859-1?Q?Philipp_H=E4nggi?= Microsoft ASP .NET 3 27th Nov 2003 03:11 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:33 AM.