Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default ADO - Paste Links

Hi Everyone,

Few days ago I posted a question regarding the possibility of copying data
from a closed workbook and I've got some useful tips.

The problem is that I'd like to copy the data from the closed workbook and
to use Paste Links option in the destination spreadsheet, so as I can trace
back the data source whenever necessary.

Is this possible?

Many thanks,

Bogdan
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default ADO - Paste Links

No, not using ADO.

Just write the links to the destination

Sub Write Links()
Range("C1").Resize(5,13).Formula = "='C:\MyFolder\[MyBook1.xls]Sheet3'!A1"
activeworkbook.Save
End Sub

--
Regards,
Tom Ogilvy

"Bogdan" wrote in message
...
Hi Everyone,

Few days ago I posted a question regarding the possibility of copying data
from a closed workbook and I've got some useful tips.

The problem is that I'd like to copy the data from the closed workbook and
to use Paste Links option in the destination spreadsheet, so as I can
trace
back the data source whenever necessary.

Is this possible?

Many thanks,

Bogdan



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default ADO - Paste Links

If you want to have the values of a whole range maybe you like this
http://www.rondebruin.nl/copy7.htm



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Bogdan" wrote in message ...
Hi Everyone,

Few days ago I posted a question regarding the possibility of copying data
from a closed workbook and I've got some useful tips.

The problem is that I'd like to copy the data from the closed workbook and
to use Paste Links option in the destination spreadsheet, so as I can trace
back the data source whenever necessary.

Is this possible?

Many thanks,

Bogdan

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default ADO - Paste Links

Oops: if you want to keep the formulas then remove the part it the function
that make values of the formulas

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Ron de Bruin" wrote in message ...
If you want to have the values of a whole range maybe you like this
http://www.rondebruin.nl/copy7.htm



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Bogdan" wrote in message ...
Hi Everyone,

Few days ago I posted a question regarding the possibility of copying data
from a closed workbook and I've got some useful tips.

The problem is that I'd like to copy the data from the closed workbook and
to use Paste Links option in the destination spreadsheet, so as I can trace
back the data source whenever necessary.

Is this possible?

Many thanks,

Bogdan

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default ADO - Paste Links

Thank you very much. I hope it will work properly.

Regards,

Bogdan

"Bogdan" wrote:

Hi Everyone,

Few days ago I posted a question regarding the possibility of copying data
from a closed workbook and I've got some useful tips.

The problem is that I'd like to copy the data from the closed workbook and
to use Paste Links option in the destination spreadsheet, so as I can trace
back the data source whenever necessary.

Is this possible?

Many thanks,

Bogdan



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
Paste Links not updating automatically Steve Links and Linking in Excel 3 October 28th 08 11:52 PM
Paste Links not updating automatically. Debbie H Excel Worksheet Functions 1 June 14th 06 04:13 PM
how do I paste links and keep formats cole Excel Discussion (Misc queries) 2 January 11th 06 05:09 PM
Paste Special With Dates And Links weescotsguy66 About this forum 0 May 14th 05 12:19 PM
Copy/paste links [email protected] Excel Discussion (Misc queries) 0 January 14th 05 06:24 PM


All times are GMT +1. The time now is 03:31 PM.

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"