LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 203
Default Export Sheet Values to new workbook

"mp" wrote in message
...

<...

Thanks Clif
i thought of that but my thinking was that
since focus does move to new document,
and since code was started in first document
that code would not continue after first document had lost focus...
but i'll give it a try
thanks
mark



The code continues ... in fact, as far as VBA is concerned the code and
the worksheet are not even related ... they may be, or they may not be
..... which is why eventually the programmer needs to learn
disambiguation .... which I'm still learning <grin.

ThisWorkbook refers to the workbook the code is running in,
ActiveWorkbook refers to the workbook with focus. Take note of Garry's
reference to using objects to refer to the two different workbooks in
his reply.

--
Clif McIrvin

(clare reads his mail with moe, nomail feeds the bit bucket :-)


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Export specific cell values to an external workbook Razorboy Excel Programming 1 October 28th 08 02:08 AM
How to export a linked cell sheet to get only values. CAPTGNVR[_2_] Excel Programming 3 April 30th 08 11:42 AM
Export Specific Sheet in Listbox to New Workbook Carlee Excel Programming 1 April 13th 07 07:56 PM
Export selected Sheet in a new workbook with old workbook name! gr8guy Excel Programming 5 September 11th 04 01:53 AM
Export just one sheet from a workbook Grek[_3_] Excel Programming 2 May 9th 04 01:52 PM


All times are GMT +1. The time now is 01:14 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"