Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default hi, i am trying to copy data to closed workbook

hi am trying to copy a range from source workbook to a worksheet in
destination workbook(closed) in a different drive. i checked previous
topics but i am unable to get appropriate code to copy range to closed
workbook. please help

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default hi, i am trying to copy data to closed workbook

You can't copy a range to a closed workbook. Usually, it is just easier to
open the workbook, paste the data, save the workbook, close the workbook.
(or close with save).

The only alternative would be if the data is laid out like a database and
you want to access with ADO. then you could append records to it (but
technically, it is still being opened by ADO).

--
Regards,
Tom Ogilvy


"ritu" wrote:

hi am trying to copy a range from source workbook to a worksheet in
destination workbook(closed) in a different drive. i checked previous
topics but i am unable to get appropriate code to copy range to closed
workbook. please help


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default hi, i am trying to copy data to closed workbook

thanks tom for the tip

Reply
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
copy from closed workbook again! ;( Christy Excel Programming 6 March 4th 05 10:33 PM
Copy data from a closed workbook (ADO) Christy Excel Programming 2 March 4th 05 06:41 PM
copy data from a closed workbook Christy Excel Programming 6 March 3rd 05 09:01 PM
copy worksheet from closed workbook to active workbook using vba mango Excel Worksheet Functions 6 December 9th 04 07:55 AM
How to copy a range to a closed workbook max Excel Programming 1 July 16th 04 11:13 AM


All times are GMT +1. The time now is 05: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"