Premium Only Content

VBA to BROWSE & COPY Data from SELECTED File in Excel
26 September 2019 Excel VBA & Macros Tutorials
Get access to the full course here: https://www.xelplus.com/course/excel-vba-excel-macros/
Use this simple Excel VBA macro to allow the user to browse for the file they need to import or copy the data from. They will get Excel's open File Dialog Box and they can browse and select the workbook to copy the data from. We use VBA GetOpenFilename method to Open the workbook selected in the background, copy the data and then close the workbook. The user will not even realize the other workbook was opened in the background.
I will also show you how to avoid getting the message "method getopenfilename of '_application' failed". This is a common error when using the application.getopenfilename method and it can easily be avoided by declaring the correct variable type.
You can expand on this Excel macro to copy data from multiple ranges or multiple sheets or create dynamic ranges.
⯆ DOWNLOAD the workbook here: https://www.xelplus.com/excel-vba-getopenfilename
Check out the FULL VBA Playlist: https://www.youtube.com/playlist?list=PLmHVyfmcRKyzmbDy6QoBuUDrU5D-jD-Se
★ My Online Excel Courses ► https://www.xelplus.com/courses/
✉ Subscribe & get my TOP 10 Excel formulas e-book for free
https://www.xelplus.com/free-ebook/
EXCEL RESOURCES I Recommend: https://www.xelplus.com/resources/
Get Office 365: https://microsoft.msafflnk.net/15OEg
Microsoft Surface: https://microsoft.msafflnk.net/c/1327040/451518/7593
GEAR
Camera: https://amzn.to/2FLiFho
Screen recorder: http://techsmith.pxf.io/c/1252781/347799/5161
Microphone: https://amzn.to/2DVKstA
Lights: http://amzn.to/2eJKg1U
More resources on my Amazon page: https://www.amazon.com/shop/leilagharani
Note: This description contains affiliate links, which means at no additional cost to you, we will receive a small commission if you make a purchase using the links. This helps support the channel and allows us to continue to make videos like this. Thank you for your support!
#MsExcel #ExcelVBA #Excel #LeilaGharani
-
2:25:31
vivafrei
20 hours agoEp. 281: Charlie Kirk; Routh Trial; Charlotte Train; Bolsanaro Defense; SCOTUS & MORE!
157K239 -
2:55:38
Turning Point USA
12 hours agoWASHINGTON D.C. PRAYER VIGIL FOR CHARLIE KIRK
102K44 -
35:54
The Mel K Show
12 hours agoMel K & Tim James | Healing is an Inside Job | 9-14-25
75.6K4 -
3:06:33
IsaiahLCarter
15 hours ago $15.93 earnedCharlie Kirk, American Martyr (with Mikale Olson) || APOSTATE RADIO 028
84.9K30 -
16:43
Mrgunsngear
18 hours ago $13.33 earnedKimber 2K11 Pro Review 🇺🇸
61.4K14 -
13:40
Michael Button
1 day ago $4.08 earnedThe Strangest Theory of Human Evolution
54.3K31 -
10:19
Blackstone Griddles
1 day agoMahi-Mahi Fish Tacos on the Blackstone Griddle
38K3 -
23:51
Jasmin Laine
1 day ago“Stop Wasting My Time!”—Trump's BRUTAL WARNING To Canada As Poilievre ROASTS CBC LIVE
28.9K30 -
9:54
Millionaire Mentor
1 day agoNBC Host EXPOSES JB Pritzker For Saying This About Trump
19.2K14 -
1:35:39
SB Mowing
2 days agoIt took the WHOLE NEIGHBORHOOD to uncover this yards SHOCKING SECRET
101K66