5 More things I wish I Knew When I Started Using Excel VBA

  Рет қаралды 71,186

Excel Macro Mastery

Excel Macro Mastery

Күн бұрын

Пікірлер: 159
@Mandelbrot567
@Mandelbrot567 5 жыл бұрын
Most of that was new to me and seems very useful, thanks Paul.
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
Thanks. Glad you like this video Rafiullah.
@greg2865
@greg2865 5 жыл бұрын
WARNING - Watching Paul's videos will cause discontent with perfectly good VBA code. I have rewritten a fairly complicated sheet twice in the last week to take advantage of techniques that were new to me. My new favorite KZbin subscription. Thanks again!
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
lol - You're welcome Greg. Glad to see you're finding the techniques useful.
@rayhanrana6773
@rayhanrana6773 5 жыл бұрын
Your explanation of VBA code is just outstanding.
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
Thanks for your comment Rayhan.
@Cyb3rP0p3
@Cyb3rP0p3 5 жыл бұрын
I'm mostly self taught and been doing macros in excel for about 8 years... everything in this video was new to me and all your videos have had excellent, new to me, tips and tricks. Thanks for your contributions, they are awesome!
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
You're welcome David.
@letmedie4you
@letmedie4you 8 ай бұрын
Thanks for your videos. Everything here saves tones of time for me everyday..
@jamithireddyr
@jamithireddyr 5 жыл бұрын
You have became my quick go to Guy after the video "running the code 1000 times faster". In fact, I optimized my worksheets your way and they run 10000 times faster
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
That's great to hear Rajasekhar!!
@rscaht
@rscaht 5 жыл бұрын
Much more fast using WorksheetFunction.Match instead of "for cells() next" or "Range.find" . and also ARRAY instead of ranges . My workbook improoved a lot . The Use of MicroTimer helped me understand the changes , what is fast and what is slow .
@michaelthomas8630
@michaelthomas8630 4 жыл бұрын
Your presentation is typically flawless and very informative. Thanks for taking the time to put these invaluable lessons together.
@niyazrafatkhan8364
@niyazrafatkhan8364 3 жыл бұрын
Your videos are like magic spells, it just works so well with so little but correct information
@Excelmacromastery
@Excelmacromastery 3 жыл бұрын
Glad you think so Niyaz!
@olliehopnoodle4628
@olliehopnoodle4628 3 жыл бұрын
I just started working with VBA. I am an old school 'send to the compiler' programmer from last century. But I have some stuff I want to do in excel and watching your video's will give me a huge head start on setting up my environment and some of the concepts in this new to me environment. Liked, subscribed and saved...
@LosoIAm
@LosoIAm 2 жыл бұрын
Sir, your tutorial on how to get data from a closed workbook is absolutely wonderful - I THANK YOU!
@dangelorrrr
@dangelorrrr 5 жыл бұрын
Paul, I think we need an ADO/SQL tutorial.
@adamploof3528
@adamploof3528 5 жыл бұрын
Agreed, would love to see a deeper on dive on that subject.
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
That's a good idea. I'll put it in my list.
@frikduplessis3869
@frikduplessis3869 5 жыл бұрын
Paul, please do one on ADO 🙏
@HappyAnimals3D
@HappyAnimals3D 5 жыл бұрын
@@adamploof3528 Fully agree wit you Adam
@NitaFunnyVideo
@NitaFunnyVideo Жыл бұрын
Ur a true Guru sharing knowledge that may be kept confidential or hidden.
@oneswolf
@oneswolf 4 жыл бұрын
Wow. Great teaching and fantastic information!
@serdip
@serdip 3 жыл бұрын
Wow! What a great tutorial! I didn't know that Watch Window was editable! I always found it frustrating that for Range objects, the Address property is not present in the Watch Window. I would copy the Range variable to the Immediate Window and query its Address property there but thanks to this video I can save that step and simply add the Address property to the variable in the Watch Window. Neat! I am familiar with using ADO to query Excel workbooks but I was operating under the assumption that the workbook being queried had to be open on the desktop first. Thanks for helping me understand that it's not necessary to open it. As you mentioned, using ADO to query a workbook on a server is especially useful since it can otherwise take some time to open and download a copy of a workbook from the file server to the local machine. Some folks think VBA is just a simple scripting language but, as you constantly demonstrate in your videos, it is a very powerful programming platform. Thank you!
@arielgarcia4199
@arielgarcia4199 4 жыл бұрын
wow! you are very proficient sir. thank you so much. its very comprehensive.
@pattabhimadhavaram7725
@pattabhimadhavaram7725 4 жыл бұрын
I've been using VBA for years and still find your videos incredibly resourceful. I appreciate your help. Please post any Patreon links so we can donate if you are accepting!
@joecross5335
@joecross5335 5 жыл бұрын
Paul, you are the most advanced user of vba that I have ever learned from, and hands down the best teacher. Thanks for the videos!
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
Thanks Joe.
@the_feature_selector859
@the_feature_selector859 4 жыл бұрын
Definition and Last Position....F2 and Shift+F2... Amazing
@charan888
@charan888 5 жыл бұрын
The things that you teach are completely new and makes life easy writing code. Thanks Paul. Love it!
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
Thanks!
@KLiCuk1
@KLiCuk1 3 жыл бұрын
👍 Superb tips - especially the ADO connection. I'll try this with a speed test comparing opening workbooks then copying sheet data.
@niavras
@niavras 3 жыл бұрын
Real treasure here! Thank you so much!
@Excelmacromastery
@Excelmacromastery 3 жыл бұрын
Glad you enjoyed it!
@HSkraekelig
@HSkraekelig 5 жыл бұрын
The ADO thing is going to be my flavour of the week. I had a user lock his workstation yesterday with a shared workbook open. I think I see how to make that a thing of the past. Thanks!
@BertandRussell
@BertandRussell 4 жыл бұрын
All of your videos are unique n commendable... I am an expert in VBA but still your videos are life-savers to me...I have No words to appreciate your work...Thanks from depth of my heart.. God bless you... May God fulfill your wishes and your offsprings'...Live long n healthy. Amen
@Excelmacromastery
@Excelmacromastery 4 жыл бұрын
Thanks Abid.
@martynpage1794
@martynpage1794 4 жыл бұрын
Been using VBA for years but you've shown me some great new tricks. Thanks Paul!
@Excelmacromastery
@Excelmacromastery 4 жыл бұрын
Happy to help Martyn.
@randomgoose
@randomgoose Жыл бұрын
Always enjoyed VBA, mainly in Access, but ADO really appeals. SQL in Excel!
@gerardbakker261
@gerardbakker261 3 жыл бұрын
Excellent video, thanks Paul. Love the ADO, that's going to be very useful. How about making a series like this. I have learned many new skills in your first 10 tips.
@houstonvanhoy7767
@houstonvanhoy7767 3 жыл бұрын
After viewing numerous videos from Sir Paul, I just have to state that if the high standards of the medical profession were enforced on the IT teaching profession, our technical outcomes would have a much higher success rate. Sir Paul, M.D. is our doctor of VBA. 👍
@Excelmacromastery
@Excelmacromastery 3 жыл бұрын
Thanks Houston.
@rrrprogram8667
@rrrprogram8667 5 жыл бұрын
Awesome explanation... Previously i read ur article on the same topic which i got in mail.... But it was hard read.... But ur video explanation is absolutely interesting... Love to see more videos... I guess... U should make this channel BIG now... All thr topics which u have in website should be made as a video series.. U will have big vba fan following for sure
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
Thanks for the feedback. Plenty more videos to come.
@maciejdolinski1036
@maciejdolinski1036 4 жыл бұрын
Hi Paul, Thank you for the following GREAT material. You are the class for your own.
@Excelmacromastery
@Excelmacromastery 4 жыл бұрын
Thanks Maciej
@trinhthanhlinh150
@trinhthanhlinh150 5 жыл бұрын
Thank you very much Paul!! Copying data from Closed workbook is my thorny issue for a month. This video is very useful.
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
Glad to help
@ardeshiraqayi9976
@ardeshiraqayi9976 4 жыл бұрын
Very very very useful ... Thank you so much for sharing this ....
@carstencardoso8876
@carstencardoso8876 5 жыл бұрын
Great stuff. Never thought about using ADO to access closed workbooks. I think it is worth mentioning that adding the reference to the 6.1 library is optional - instead, late binding may be used (Set conn = CreateObject("ADODB.Connection")). There are pros and cons for both options, but I find it sometimes useful in order to mitigate compatibility issues, if it is a spreadsheet that will be run by other users.
@Excelmacromastery
@Excelmacromastery 4 жыл бұрын
Thanks Carsten
@alihamiad7849
@alihamiad7849 5 жыл бұрын
Really impressed me these techniques!. Thanks Paul
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
You're welcome Ali
@JonathanExcels
@JonathanExcels 5 жыл бұрын
I have written quite a bit of code and all of the tips in this video and the last are very helpful. Thank you
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
You're welcome Jonathan.
@alexhoch1264
@alexhoch1264 5 жыл бұрын
Nice video. I like the last part "ADOB". Last week it was the first time that I have used it (used it for a left join).
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
SQL is a powerrful way of dealing with queries. Definitely worth using.
@rubenpradesgrau8430
@rubenpradesgrau8430 4 жыл бұрын
Love your work. Really useful
@pythusiast4701
@pythusiast4701 4 жыл бұрын
Very useful tips man.... keep up the gud work.
@Excelmacromastery
@Excelmacromastery 4 жыл бұрын
Thanks, will do!
@sksanket
@sksanket 4 жыл бұрын
Hi Paul, I must say excellent contents and great way of explanation skills.... keep sharing knowledge it will definitely help people's like me. Another thoughts is it possible to creat video on how to download attachments from perticular subject mail or perticular attachment name. Also SQL videos are most welcome. Sanket
@danielszalok8540
@danielszalok8540 5 жыл бұрын
Tons of new information even after 4.5 years of vba 🙂 Definition, Parent, this infobox type, and adodb...
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
Thanks Dániel
@butzromulo6695
@butzromulo6695 3 жыл бұрын
I appreciate all what you're doing . . . hope we can do something in return! Thank you very much!
@Excelmacromastery
@Excelmacromastery 3 жыл бұрын
Any time!
@mtotowamungu8259
@mtotowamungu8259 5 жыл бұрын
You are great. I Thank you so much for your helpful videos.
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
Thanks:-)
@cristonsloan
@cristonsloan 5 жыл бұрын
Really great, thank you, but especially thank you for that last one, which, to be fair, is not really great, but flippin' Awesome!
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
Thanks Criston. Glad you liked it.
@aliibrahem6313
@aliibrahem6313 4 жыл бұрын
Thank you, very informative.
@nic23lond23
@nic23lond23 5 жыл бұрын
Very good content! Thank you very much! I made a fairly large database on Excel for recurring invoicing a couple of years ago... If only I had known this... The ADO thing sounds quite powerful... being able to run SQL queries on a Workbook means that most applications I need for business can be run on Excel... lol If you find yourself looking for a video topic... an SQL database on Excel would be EPIC
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
Thanks Nicolas. Glad you like it.
@Rampracaash
@Rampracaash 5 жыл бұрын
You are awesome..!! I have made code with different method for the same requirement, but with this my code can run a 100 times faster..
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
Glad you like it.
@neronjp9909
@neronjp9909 7 ай бұрын
Amazing
@janezklun
@janezklun 5 жыл бұрын
Excellent tutorial, thank you for sharing, Cheers
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
You're welcome Janez
@marcelomotta1427
@marcelomotta1427 4 ай бұрын
Perfeito ❤
@pmacgowan
@pmacgowan 5 жыл бұрын
Very useful
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
Thanks Paul
@learnexcelwithfun4716
@learnexcelwithfun4716 4 жыл бұрын
What Can I Say..It's WoW!
@AS-ym2bp
@AS-ym2bp 5 жыл бұрын
That ADO code was such a powerful piece of information and explained very succinctly. I have one burning question though that I'd be grateful to you if you could address or answer: _Is there a way to write to a closed file using ADO? How would that code be?_
@ricos1497
@ricos1497 5 жыл бұрын
Same code, but just use an "Insert into" SQL query instead of the Select statement. I use it all the time. The only piece of advice I'd give is to ensure that you always set up your data in a single sheet (try to start in A1 with your headers) and make sure it is laid out in columnar format. You're effectively turning a spreadsheet into a DB, so it is very powerful. You may also notice that when you do an Insert into on a sheet with no existing lines of data that you sometimes get data type errors as Excel doesn't know what type the data in the column should be (dates etc might cause issue). I believe it takes the type from the data in the first row of your data table (for example, if you have a cell in the first row below the header that is a date, Excel will expect you to be inserting a date). Hope this makes sense!
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
Thanks for the useful advice Rico
@AS-ym2bp
@AS-ym2bp 5 жыл бұрын
@@ricos1497 Yeah, thanks!!
@PrincePedia
@PrincePedia 5 жыл бұрын
Thanks Paul , awesome I wonder if you have time to make a video about difference between used range and current region , Thanks.
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
Used range is the range of all used cells on the worksheet. From the first used cell to the last used. CurrentRegion is all the adjacent cells with data. The region ends at a blank row or column.
@PrincePedia
@PrincePedia 5 жыл бұрын
@@Excelmacromastery Thanks Paul
@kabukijoe99
@kabukijoe99 Жыл бұрын
thank you for very useful lesson
@anthonyblenk1854
@anthonyblenk1854 4 жыл бұрын
I dearly would love to use these techniques, but I don't know which version of VBA for Excel Paul is using. I know that it's not the on I use: some of the code just doesn't work with my version. Knowing which version would really help, and, IMHO, is a necessary part of a tutorial.
@Excelmacromastery
@Excelmacromastery 4 жыл бұрын
Hi Anthony This code works with all versions of VBA from 2007 onwards. If something is not working then it has nothing to do with the version. -Paul
@karankamal3130
@karankamal3130 Жыл бұрын
ADO is what I need mostly
@frikduplessis3869
@frikduplessis3869 5 жыл бұрын
Brilliant again thank you
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
Thanks Frik
@ThorstenStrauch
@ThorstenStrauch 5 жыл бұрын
Whow! Again :-) Thank you a lot!
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
Thanks Thorsten.
@ventjemazzel8822
@ventjemazzel8822 5 жыл бұрын
Great video; thanks!
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
No problem Ventje.
@grahamparker7729
@grahamparker7729 5 жыл бұрын
Another great video 👌🏻
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
Thanks Graham
@HappyAnimals3D
@HappyAnimals3D 5 жыл бұрын
You are amazing!
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
Thanks
@obsoquasi
@obsoquasi 5 жыл бұрын
ADO sounds really useful and would probably speed up my code 100 times. Unfortunately I have to code VBA for Mac users and ADO is not supported on Excel VBA for Mac. The culprit is Active-X...
@ricos1497
@ricos1497 5 жыл бұрын
Have you tried using ODBC instead? Think it is supported in Excel 2016 for Mac, but I don't have a Mac so have never tested!
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
Unfortunately some of these useful libraries are only available on Windows.
@Cyb3rP0p3
@Cyb3rP0p3 5 жыл бұрын
@@Excelmacromastery This is painfully true. While 99% of my organization is on Windows... there of course a few MAC users which make my VBA life a nightmare... even more painful is they are high level execs. =/
@haiderbokhari1
@haiderbokhari1 4 жыл бұрын
As always your videos are AMAZING! I have two questions on this video if that's ok Q1) At time 6:15 this line of code confused me: shorders.range("h1").currentregion.offset(1).clearcontents What does the offset(1) do in relation to the currentregion? Q2) What would be the difference between rng and rng2 here: dim rng as range dim rng2 as range rng=thisworkbook.sheets("A1").currentregion rng=thisworkbook.sheets("A1").currentregion.value I'd really appreciate any help. Thank you!
@Excelmacromastery
@Excelmacromastery 4 жыл бұрын
Glad you like the videos. Q1) another way to write it would be dim rg as Range Set rg= shorders.range("h1").currentregion ' Get the current region range Set rg = rg.Offset(1) ' Move the range down one row to avoid deleting the header. Q2) CurrentRegion returns a range currentRegion.Value returns the array of values in the range -Paul
@haiderbokhari1
@haiderbokhari1 4 жыл бұрын
@@Excelmacromastery wow that was lightning fast! Your are the MAN! Where were you when I started learning VBA???
@sjwthomas
@sjwthomas 3 жыл бұрын
I have found these articles very interesting, thanks Paul. One question on the 5th item which was "Reading from closed workbook". When I try the exact example I get a Compile Error on the line "shResult.Cells.ClearContents" saying Variable Not Defined". Any idea why I get this error.
@rrrprogram8667
@rrrprogram8667 5 жыл бұрын
Good one... Thanks for the video
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
You're welcome.
@terrycline8689
@terrycline8689 5 жыл бұрын
More great stuff, thanks Paul. While I was aware of ADO, I haven't worked with it to date. It will definitely solve some challenges I have been having. Rather than "copy/paste" the query results to another spreadsheet, could it be put directly into an array?
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
Recordset GetRows. arr = rs.GetRows
@stevennye5075
@stevennye5075 5 жыл бұрын
very useful!!!!
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
Thanks Steven.
@wayneedmondson1065
@wayneedmondson1065 5 жыл бұрын
Hi Paul.. another excellent video. Thanks a million for these gold tips and tricks. Question on ADO and SQL: Is it possible to design an ADO connection and SQL query that returns to a target worksheet whatever is in a defined range of the closed source workbook/worksheet? So, let's say I want to copy everything contained in the source Workbook, Sheet1, Range A1:Z100 and that range is not set up as a data table or database, it just contains text and numbers in various cells within the range and some cells are even blank. What I am after is something similar to actually opening the source and then copying and pasting whatever is the contents of A1:Z100 to the target and then closing the source. Right now, I do this with code that allows me to pick the source file with Application.GetOpenFilename and then code that does the copy from source, paste to target, close the source. If I could do the same, but skip the open/close of the source file, that would be brilliant! Any thoughts? Thanks again and Thumbs up!!
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
ADO expects records to be in database form. If not then it will complain. The easiest thing to do is run a test query and see what happens.
@houstonvanhoy7767
@houstonvanhoy7767 Жыл бұрын
@@Excelmacromastery "Database form" = Excel table with no line gaps or column gaps?
@korencek
@korencek 3 жыл бұрын
is using ADODB faster than "Application.Workbooks.Open" when opening files? Or is it about the same?
@sourvep
@sourvep 4 жыл бұрын
Can we create hyperlink which redirect to a specific cell of another csv file? If yes please share ur inputs
@AS-ym2bp
@AS-ym2bp 5 жыл бұрын
Hi Paul, I've been using the ADO and it works great so far. I've even been able to SELECT individual records from the database by learning SQL and reading them onto my worksheet. I've just been wondering if there is any way to _(while running the _*_UseADO_*_ macro)_ place the individual row's data that I imported into cells of my choice :- eg. data from "A2" is read into "A4" data from "B2" is read into "C3" data from "C2" is read into "E10" etc. So basically, while firing the query and reading the data, I want to place the data in each column into cells of my choice. Hope it's clear enough to understand.
@charan888
@charan888 4 жыл бұрын
Hey Paul, The below line is giving me an error while trying to read from closed workbook. Conn.Open "Provider=Microsoft.ACE.OLEDB.12.0;" & "Data source=" & FileName & ";" & _ "Extended Properties=""Excel 12.0;HDR=Yes;"";" Error is "Cannot update. Database or Object is read-only".
@fahrigafarzade735
@fahrigafarzade735 4 жыл бұрын
Try to use following as connection string: Dim ConnStr as String ConnStr = "DSN=Excel Files;DBQ=" & ActiveWorkbook.FullName I implicitly assumed that the 'proper database' which ADODB understands is in your open workbook. If it is not the case, you just need to replace "ActiveWorkbook.FullName" part with the proper fullname of the workbook. Someting like: C:\Users\w8\Desktop\The Work\Excel_Query_Workbook.xlsm
@BenjaminHouot
@BenjaminHouot 5 жыл бұрын
Hi. When you someone use the macro, he could have a problem by not having the dll i suppose ? or not exactly the last one. However it a nice trick to read data from workbook. I have already used it in a C# code, but i have never thank to use it in vba itself.
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
Which dll?
@BenjaminHouot
@BenjaminHouot 5 жыл бұрын
We need odbc dll to read data from a closed wb.
@briandennehy6380
@briandennehy6380 5 жыл бұрын
Amazing Paul - out of interest you do any vba classes or course in Ireland?
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
Thanks Brian. I don't do any live VBA classes at the moment. I may do some in the future.
@briandennehy6380
@briandennehy6380 5 жыл бұрын
@@Excelmacromastery cheers Paul. It's really hard to find any comprehensive class based courses on vba
@edwingonzalez2749
@edwingonzalez2749 2 жыл бұрын
Thank you for this video. I am interested in working with closed excel files. I followed your steps for the ADO and got Run-Time error '-2147467259 (8000040005)' Failure creating file. I looked online and says that I need to unprotect the sheet but I never protected the "5 more things Data.xlsx" file. I already checked the MS ActiveX Data Object 6.1 Library. The macro file and the data file are in the same folder. Do you have any suggestions?
@selesli1895
@selesli1895 4 жыл бұрын
Hello, for the ADO, I can't get the part of the code where it said "Dim conn As New ADODB.Connection" to work. Would appreciate your answer to this.
@luiscordeiro1397
@luiscordeiro1397 4 жыл бұрын
do you need to have data in a table format in order to access it via ADODB.connection?
@boredonatuesday8793
@boredonatuesday8793 4 жыл бұрын
Nope, not necessary
@uniQue_XL
@uniQue_XL 5 жыл бұрын
Thanks Paul for great video! Is it possiable to change the extention of excel files, on a folder, from .xls to .xlsx, without haveing to open each files on the code?
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
You can use the "Name" and "Dir" functions. Name "C:\temp\data.xls" As "C:\temp\data\xlsx". Use Dir to get all the files in a folder.
@uniQue_XL
@uniQue_XL 5 жыл бұрын
@@Excelmacromastery Thanks Paul!👍
@uniQue_XL
@uniQue_XL 5 жыл бұрын
Have just checked it and you cannot change the extension only, as excel popup massage that the file is corrupted. probebely the file must be open and save with the new extention.
@sreejithom3726
@sreejithom3726 5 жыл бұрын
The parent name property we can apply in immediate Window also right?
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
Yes.
@rrrprogram8667
@rrrprogram8667 5 жыл бұрын
Right away I searched if u have made any course on udemy.... Sadly there isn't
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
www.udemy.com/course/excel-vba-how-to-write-like-a-professional/
@grahamparker7729
@grahamparker7729 4 жыл бұрын
👌🏻
@VipinBalakrishnan
@VipinBalakrishnan 5 жыл бұрын
ADO is faster or advance filter is faster?
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
Advanced Filter is faster if the data is in the current workbook. ADO doesn't require a workbook to be open so in this scenario ADO will more than likely be quicker.
@saravananbe19
@saravananbe19 4 жыл бұрын
How to get vba handy book sir
@Excelmacromastery
@Excelmacromastery 4 жыл бұрын
You can purchae the Excel VBA Handbook Course from here: www.theexcelvbahandbook.com/
@srisureshm1476
@srisureshm1476 5 жыл бұрын
Hi Can we block vba code @ particular date Example code should not work after one month
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
Yes. Just use an If statement. However it is very is to circumvent.
@srisureshm1476
@srisureshm1476 5 жыл бұрын
Excel Macro Mastery Thanks for u r reply. Can I have one example
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
@@srisureshm1476 You're very welcome.
@joecross5335
@joecross5335 5 жыл бұрын
If inputBoxDate > your Cutoff Date then Msgbox ("Please select a date less than (whatever).") Exit sub End if
@houstonvanhoy7767
@houstonvanhoy7767 3 жыл бұрын
@@Excelmacromastery Very easy? (Not very is.)
@shyamsewram1879
@shyamsewram1879 4 жыл бұрын
M
@donepearce
@donepearce 5 жыл бұрын
5 More things I wish I *HAD KNOWN*... Just helping out.
@Excelmacromastery
@Excelmacromastery 5 жыл бұрын
:) I know but "Knew" is a better title. I use "Had Known" throughout the video.
@donepearce
@donepearce 5 жыл бұрын
@@Excelmacromastery Hmmm. That is the same reasoning that let Ron Howard commit that misquote crime on the line of the century "Houston, we've had a problem". OK, yours isn't exactly heinous, but it's there.
5 Killer Excel VBA Tips Everyone Should Know
12:55
Excel Macro Mastery
Рет қаралды 109 М.
How to Design and Code an Excel VBA Application Like a Pro
42:27
Excel Macro Mastery
Рет қаралды 214 М.
At the end of the video, deadpool did this #harleyquinn #deadpool3 #wolverin #shorts
00:15
Anastasyia Prichinina. Actress. Cosplayer.
Рет қаралды 17 МЛН
The FASTEST way to PASS SNACKS! #shorts #mingweirocks
00:36
mingweirocks
Рет қаралды 15 МЛН
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 121 МЛН
How to use ADO and VBA to Read from Worksheets
12:15
Excel Macro Mastery
Рет қаралды 76 М.
How to make your Excel VBA code run 1000 times faster
16:55
Excel Macro Mastery
Рет қаралды 360 М.
7 Simple Practices for Writing Super-Readable VBA Code
13:03
Excel Macro Mastery
Рет қаралды 67 М.
Watch these 28 minutes if you want to become an Advanced VBA user...
29:01
Excel Macro Mastery
Рет қаралды 53 М.
How to Use Class Interfaces in Excel VBA
20:16
Excel Macro Mastery
Рет қаралды 80 М.
Python in Excel vs. VBA - What You Should Learn in 2024!
10:05
David Langer
Рет қаралды 42 М.
5 VBA Hacks Everyone Should Know in 2021
11:20
Excel Macro Mastery
Рет қаралды 91 М.
How to Easily Create an Data Entry Form in Excel | No VBA
22:30
Jopa Excel
Рет қаралды 27 М.
VBA Advanced Filter - The FASTEST way to Copy and Filter Data
18:33
Excel Macro Mastery
Рет қаралды 280 М.
At the end of the video, deadpool did this #harleyquinn #deadpool3 #wolverin #shorts
00:15
Anastasyia Prichinina. Actress. Cosplayer.
Рет қаралды 17 МЛН