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:59
Timcast
2 hours agoDemocrat ARRESTED In NYC For ASSAULTING ICE, Trump RAMPS UP Arrest Of Democrats
116K103 -
2:00:31
Steven Crowder
5 hours ago🔴Tucker Carlson Blasts Ted Cruz on Iran: What This Exchange Really Means
324K285 -
LIVE
LFA TV
17 hours agoLFA TV ALL DAY STREAM - WEDNESDAY 6/18/25
2,593 watching -
1:11:19
The Rubin Report
3 hours ago‘The View’s Sunny Hostin Gets Visibly Angry When Arnold Schwarzenegger Puts Her in Her Place
47.8K55 -
LIVE
Rebel News
1 hour agoCarney says US deal is close, CUPE rallies for Iran, Liberal MP calls out his party | Rebel Roundup
461 watching -
1:51:48
Side Scrollers Podcast
3 hours agoMarathon Delayed INDEFINITELY, Switch 2’s STOLEN, RIP Anne Burrell | Side Scrollers Live
8.67K2 -
25:42
IsaacButterfield
9 hours ago $0.17 earnedAmerica Is Broken
7.95K17 -
1:22:19
The Shannon Joy Show
4 hours ago🔥🔥False Flag Incoming? Concerns About Another Military Lockdown Under Trump Are Amplified As War Rhetoric Heats Up. With Special Guest Doc Malik🔥🔥
13.6K4 -
1:45:13
LumpyPotatoX2
2 hours agoSCUM v1.0 | Roleplaying Gameplay - #RumbleGaming
2.42K1 -
LIVE
GloryJean
4 hours agoMnK #1 Aggressive Gameplay 🖱️ 6.7 K/D
21 watching