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
-
1:03:23
Tactical Advisor
15 hours agoNew Gun Unboxing | Vault Room Live Stream 044
245K37 -
19:12
Robbi On The Record
17 hours ago $21.49 earnedThe Loneliness Epidemic: AN INVESTIGATION
76.9K100 -
14:45
Mrgunsngear
1 day ago $141.29 earnedFletcher Rifle Works Texas Flood 30 Caliber 3D Printed Titanium Suppressor Test & Review
132K30 -
17:17
Lady Decade
1 day ago $11.42 earnedMortal Kombat Legacy Kollection is Causing Outrage
87.3K18 -
35:51
Athlete & Artist Show
1 day ago $14.16 earnedIs Ryan Smith The Best Owner In The NHL?
97.3K15 -
22:56
American Thought Leaders
2 days agoCharles Murray: I Thought Religion Was Irrelevant to Me. I Was Wrong.
79.4K40 -
36:22
Brad Owen Poker
18 hours agoGIGANTIC $17,000+ Pot In BOBBY’S ROOM! TRAPPING Top Pro w/FULL HOUSE!! Big Win! Poker Vlog Ep 326
82.6K11 -
3:53
GreenMan Studio
1 day agoRUMBLE RUNDOWN: DREAM HACK SPECIAL W/Greenman Reports
66.4K16 -
1:28
Damon Imani
2 days agoThey Laughed at Trump’s Cognitive Test — Damon Made Them REGRET It!
63.2K43 -
9:14
Freedom Frontline
1 day agoAdam Schiff PANICS As Eric Schmitt Exposes His Dirty Lies LIVE
42.8K87