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:04:33
BonginoReport
3 hours agoWill The LA Dodgers Dodge WH Visit?! - Nightly Scroll w/ Hayley Caronia (Ep.172) - 11/06/2025
24.2K57 -
LIVE
Tundra Tactical
4 hours ago $0.01 earnedDadlefield Game Night BF6 New Update Weapon Grind
162 watching -
15:39
Megyn Kelly
4 hours agoTucker Carlson on Why He Interviewed Nick Fuentes and What He Wanted to Convey To Him
39.1K63 -
1:14:10
Kim Iversen
4 hours agoZionists PANIC Over Muslim Mayor In NYC
70.8K126 -
1:50:40
Redacted News
4 hours agoBREAKING! Trump Makes HUGE Announcement Trying To Save MAGA, Cost of Living & Israel CRUSHED GOP
106K213 -
LIVE
Dr Disrespect
10 hours ago🔴LIVE - DR DISRESPECT - ARC RAIDERS - QUEST MASTER
1,195 watching -
2:17:37
The Quartering
6 hours agoFooled Again! Mamdani Backtracks Everything & Today's Breaking News!
201K126 -
1:17:04
DeVory Darkins
8 hours agoPelosi SURRENDERS announces retirement and Bernie Sanders makes stunning admission
116K121 -
4:35:22
StoneMountain64
7 hours agoArc Raiders is actually INCREDIBLE
68K2 -
7:39:54
FusedAegisTV
9 hours agoFUSEDAEGIS PLAYS THE GREATEST JRPG EVER MADE ⌛► CHRONO TRIGGER (1995) Part 4
23.7K2