Avatar of Ray Erden
Ray Erden
Flag for United States of America asked on

Data Transfer Between Two Excel Workbooks

I have two sample files attached for this question, FlipperTest file is the one that needs to get data in from the ExtractionTest file.   On the FlipperTest file, on Menu tab there is Extract button.  My goal is to get the specified data values from ExtractionTest file into FlipperTest file by using the method displayed in module2 of the FlipperTest file.  

I know am missing something like file location or similar to make it work and need help with that.  The values on ExtractionTest file are in A1 to A5 and I need to get them into Retrieve tab of the FlipperTest file in row 3 under their corresponding titles.  Assume that FlipperTest file is located in FolderA and ExtractionTest file is located in FolderB.

I need to achieve this by using the below method, there should not be an option for the user to specify the file location manually via browse option and Excel should open the folder, then open the file and extract the value in the specified range.

ThisWorkbook.Worksheets("Retrieve").Cells(RL, 1).Value = Workbooks(DataFile).Worksheets("Summary").Range("A1").Value
FlipperTest.xls
ExtractionTest.xlsx
Microsoft Excel

Avatar of undefined
Last Comment
Ray Erden

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Robberbaron (robr)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Ray Erden

ASKER
Robberbaron,

I have just solved this question now and almost the same time you have posted your solution where I was about to delete the question and re-post more involved version of it. If you could please bear with me I will post expanded version of my original question once I structure it well. Thank you!
Ray Erden

ASKER
Ok I guess I am good now so no any variations to this question. Thanks for the help!
Ray Erden

ASKER
Thank you!
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck