#1
|
|||
|
|||
Retrieve a value from a closed file
Hello,
I need to retrieve values in another EXCEL file from an EXCEL file, but this one is closed. I have used the function proposed by Silkyroad (https://excel.developpez.com/faq/ind...tClasseurFerme) The function returns the result: [B] #VALUE! [/ B] I found the following additional info, maybe? at the origin of my pb. Indeed Silkyroad mentions: You must first enable the Microsoft ActiveX Data Objects x.x Library reference to use the examples in this tutorial. In the macro editor: Tools menu. References. Check the "Microsoft ActiveX Data Objects x.x Library" line. Click the OK button to validate. x.x depends on the version installed on your computer. Some suggested examples allow you to manipulate the tables and need to enable the Microsoft ADO ext x.x for DLL and Security reference. Knowing that I use MS Office 2013 (15.0.5075.1000) and that there are many references which ones should I activate? Perhaps another porblem ? Thanks in advance. Best regards. Jérôme |
#2
|
||||
|
||||
You could, of course, just use an external-reference formula.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
Can you exploit ? I am beginner
|
#4
|
||||
|
||||
An external reference formula contains the path, filename, sheet name and cell reference of the cell whose value you want to retrieve. Such a formula typically looks like:
='C:\Users\UserName\Documents\[SourceWorkbook.xlsx]Sheet1'!$A$1
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
Ok. Thanks
|
Tags |
active x, closed, reference |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Closed recovered file without saving - possible to retrieve? | username1234 | Word | 0 | 05-20-2018 04:54 AM |
What Causes Outlook to Continue Changing File Size While Closed? | chasfh | Outlook | 2 | 04-14-2018 06:32 AM |
Retrieve old file version | Joven | Office | 3 | 03-24-2018 11:21 PM |
After a specific file is closed, Excel asks again if I want to close the same file -- and ruins it | HGilbert | Excel | 1 | 01-24-2017 08:37 AM |
Importing Data from seperate closed excel file | KingoftheKassel | Excel Programming | 1 | 06-10-2016 08:34 AM |