Тёмный

Browse For File and Open Workbook with Excel VBA 

ExcelVbaIsFun
Подписаться 98 тыс.
Просмотров 85 тыс.
50% 1

📊 Free Workbooks: www.excelvbaisfun.com/links?u...
🥷Join Excel Ninja Pro: www.excelvbaisfun.com/ninjapr... Months FREE On Annual Plan Auto Applied)
🥷Excel Ninjas FB Group: www.excelvbaisfun.com/xlninjas (Free downloads, Trainings, Live Q&A and more)
Learn how to Browse for a filename path, trap it in a variable or worksheet cell and also how to open the other workbook in Excel VBA.
Fantastic Developer Tools:
🔒 Transform Any Excel File Into A Locked EXE: www.excelvbaisfun.com/secure-... (25% off with code ‘25OFF’)
🟡 Create Custom Installers: www.excelvbaisfun.com/custom-...
👋 Business Inquiries, Consulting, Comments, etc: www.excelvbaisfun.com/contact/

Опубликовано:

 

24 фев 2017

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 32   
@krn14242
@krn14242 7 лет назад
Long time since I have seen your name pop-up in my subscription list. Good to see ya. Thanks for the video.
@yeshappu
@yeshappu 5 лет назад
This match my requirement , i was searching this in the You tube and Google for a while but none of them are working and able to understand. I have tried this and it is good to go. Thank you so much bro, you made my work easy.
@eCabinetstipsandtricks
@eCabinetstipsandtricks 7 лет назад
Hi, Dan. It's ben awhile. Good to see you again. Thanks for the video.
@ekusucariba2204
@ekusucariba2204 6 лет назад
Thank you so much! This helped me a lot
@excelisfun
@excelisfun 7 лет назад
I agree with krn14242, it is great to see your post!!! : )
@phanthanhquyen
@phanthanhquyen 7 лет назад
Thanks for share
@automationguide3498
@automationguide3498 7 лет назад
Thank You !!
@Didleeios88
@Didleeios88 2 года назад
perfect! Thanks for the help
@ExcelVbaIsFun
@ExcelVbaIsFun 2 года назад
Very welcome, Didleeios88
@DexterTunacao
@DexterTunacao 5 лет назад
Thank you very much its a great help
@ExcelVbaIsFun
@ExcelVbaIsFun 5 лет назад
You are so welcome!! Thanks for the comment!
@hanabilowit8183
@hanabilowit8183 5 лет назад
Hi, thank you so much for this video!!! It is super helpful. However, I am trying to write a macro which opens the file on a double click and puts that file name into that cell for the whole A column. Would this be an if statement? Thank you!!
@arshisingh5526
@arshisingh5526 5 лет назад
Hi if I need to select multiples file and want to open file one by one can please explain this.....
@cintanami87
@cintanami87 4 года назад
this is very easy to understand video that explains it all in such short time. Thank you very much for that! I just have a question: if you want to select multiple files from the same file path, how do you do that? Many thanks, TD
@zejton
@zejton 7 лет назад
Hi Daniel, i have a couple of questions and i was wondering if you could help me. the questions are regarding how to import data from textfiles in excel and what to do with it. I have watched a video of yours and find it very instructive and good. The video was about how to import txtfiles into word. If you are able to help it would be alot of help, is it possible to interact via mail or anything like that? Thanks!
@prophecy2859
@prophecy2859 5 лет назад
good simple tutorial. now i have a question, how do you use that file path name in vlookup? how do I use c:\...\filename.xls in table array? by pointing to the cell directly?
@Carthagem
@Carthagem 5 лет назад
Great video, many thanks. Quick question - Is it possible to browse for a folder rather than a file?
@nickprado01
@nickprado01 7 лет назад
Hi, if we have specific question like this video did, what is the best way to reach you? Thanks!
@vaidehicrs9898
@vaidehicrs9898 6 лет назад
Hi, I want to add the contents of the excel files one below the other into the single worksheet in the workbook. Could you tell me how to do it ? Thanks Vaidehi
@vinaysahu77
@vinaysahu77 3 года назад
Thank you for this option. But what if I want to open the workbook in same excel file as sheet? Could you please help?
@vikkysharma473
@vikkysharma473 7 лет назад
I need to work on the rows between two yellow raws, there I need to concatenate two columns into second column please help
@neetshil1434
@neetshil1434 6 лет назад
Hey how can i use this to browse any file from website or any sharepoint. Am working on a project where i need latest file to work on it. Please help on this.
@kelvinjohnaquino1197
@kelvinjohnaquino1197 5 лет назад
How to edit the opened file? I'm trying to filter the opened file and send automatic email notice
@Robleh100
@Robleh100 5 лет назад
The problem with this method is it doesn't seem to be available in a WITH statement. I get the infamous run-time error 438 when I use it in my procedure. In the procedure I create an Outlook email that will insert the file and send it to recipient(s). The code is below: Sub insertGTfile() Dim ol As Outlook.Application Dim mi As Outlook.MailItem Dim doc As Word.Document Dim gtfile As Object Set ol = New Outlook.Application Set mi = ol.CreateItem(olMailItem) mi.Display mi.To = "###########" mi.Subject = "Gas Turbine Data" Set doc = mi.GetInspector.WordEditor With mi .gtfile = Application.GetOpenFilename(, , "Select file to open") .Attachments.Add "C:\Downloads\GasTurbineDataTablePartGroupMatch.xlsx" End With End Sub Notice, I have the attachement property in the WITH and that works fine. That is, if I remove the gtfile variable and run this procedure to the mail recipient it goes thru without error. But, this means the procedure doesn't allow a user to select a file and insert it to the email and that's clearly not what I want. 438 indicates "the object doesn't support this property or method". This can be many things as you. Well, any help is appreciated.
@TanteHela
@TanteHela 7 лет назад
Hi, Dan. Thanks for all the great tutorials, keeps me smiling to Excel! I would like to use some sample files from your Dropbox but keep getting the 429-error....(way to much traffic) and is temporarily disabled. Is there another way to get to those files?
@ExcelVbaIsFun
@ExcelVbaIsFun 7 лет назад
Hi TanteHela, Dropbox has betrayed me. . . sort of. Apparently, since I have soooo many people from RU-vid downloading my workbooks, Dropbox decided to suspend my links for a period. Not sure how long. I'm going to have to put them up on my website to ensure this doesn't happen again. Sorry about that! Thanks Dan
@TanteHela
@TanteHela 7 лет назад
Thanks for the response. Not a problem at all. Please let me know when/where to download. I just keep replaying your posts on RU-vid till then. Loving every bit of code!
@benmathews1086
@benmathews1086 5 лет назад
Is there a way to set a default location for when the window pops up? For example, I want it to prop me to choose a file in my "work" folder and not just my general documents. Thanks!
@elliesworld1076
@elliesworld1076 5 лет назад
Hi Ben, I'm not at a PC rn, but try ChDir "c:\work" 'change directory to work folder Hope that helps Thanks Dan
@ratishgoyal2575
@ratishgoyal2575 5 лет назад
Sir nice vedio sir i want four file differ field name store. Another one file four sheet with four sheet name exsit
@pradeepfernando1882
@pradeepfernando1882 5 лет назад
can you write a vba code to save a open workbook , which was opened by a tool .I tried to write a code using activeworkbook save as method , but it doesn't work , please help me with this code , it will be really helpful.
@gauravsoni9922
@gauravsoni9922 6 лет назад
it is giving Compile Error??????????????
Далее
VBA to BROWSE & COPY Data from SELECTED File in Excel
10:00
Рыбачка
00:14
Просмотров 16 тыс.
DO NOT Dunk Here ❌🏀
00:20
Просмотров 8 млн
FARUX RAIMOV AVJIGA CHIQDI - JAVOHIR🔥
01:01
Просмотров 726 тыс.
Excel VBA Open File and Copy to Workbook
14:00
Просмотров 8 тыс.
VBA Macro to Copy Data from Another Workbook in Excel
13:39
5 Things I wish I knew When I started using Excel VBA
12:45
Learn Macros in 7 Minutes (Microsoft Excel)
7:40
Просмотров 1,8 млн
Рыбачка
00:14
Просмотров 16 тыс.