Your tutorials are a lifesaver for a new analyst. There are many more new tools like Alteryx which won't replace Excel but just makes life easier. Wish you could eventually make videos on those.
Your videos are truly exceptional and the level of clarity in your communication is absolutely invaluable. We cannot thank you enough for the tremendous effort and skill you put into creating such helpful content.
For the last one, how do you adjust the code so it can handle saving if there's already a file with the name in the path? Example, if you need to change invoice detail immediately after saving PDF, does it automatically overwrite old file if you click button again or does it do nothing?
Brilliant stuff! Do you have a tutorial on how to create a macro to copy and paste into a summary table the various different outputs from a scenario manager please?
Assuming I'm in MS-Word. How do I read off a table, and then make parts of it disappear? And what is a good source to find this out, because MIcrosoft's website seems to be really poorly explained on what xy-function does and what can and cannot be included to it. As an example, I know of "function.Select" but what does it really do? No clue, like what am I selecting, the value or the text. And what does selecting do really?
Here in Excel it seems pretty straight forward, there is one table. No clue how the code reads out "Quantity" or "Price" out of it, assuming it exists on multiple fields. And the rest is simple maths, no Dim Variable As int or Set Variable = xyz nonsense.
i have a problem sir will u solve it? In a column if there is a holiday in a cell then function should merge that cell to next 7 cells like If C4=Holiday then merge cells C4:C10
Thank you, I have learnt how to create custom function. I use vba just for fun. I want to discuss another problem which I faced. I know excel can’t handle figure more than 15 correctly. I used “NumberFormat=“@“” to convert the digits into text format. It was OK then but when I multiply and product is more than 15 digits, it again turn into the format which don’t require. For example I want to multiply 1111111111111111(col A)x11111111111111111(col B) in Number format without any error. I hope you can do this. Thank you.
thank you for the video. I have a question for Printer object and Printers object. is any Reference library required to install in the Tool->Reference before we can use Pinter and Printers object? I run below code, and get error "object is required" for line "For Each prt In Printers". Sub ListPrinters() Dim prt As Printer For Each prt In Printers Debug.Print Printer.deviceName Next prt End Sub
Hi Kenji, thanks for this video. I need one help. If some one sends me a request and i want to send him an auto email reply saying "Hi we have ack the receipt of your mail. Someone from the team will revert on your request. Kindly note the ticket number 0001" can we automate this and once the ticket is closed then he will get the email "Hi your ticket number 0001 has been closed". How can we do this using excel and outlook ?
Hey Kenji I faced a problem when sending the emails. Error shows "ActiveX Component Cant Create Object Run-time 429 Error." Debug line highlighted Set outApp = CreateObject("Outlook.Application"). Could you please help?
Very useful examples. For the last example, you gave me an idea of sending a file on the laptop to the printer depending on what the answer of the user is (eg 1 then print docA, 2 then print docB, 3 then print both ). What would the dim for a printer be ? Thanks.
I don't think you'd need a DIM for the printer, you'd need one to determine which document you want to send to the printer e.g. DIM DocToPrint As String DocToPrint = _the name of the doc your user selected_ (which would be the result of your function, If 1 then print docA, ElseIf 2 print docB, ElseIf 3 then print doc C) doc C could just be a copy of docA inserted and saved into docB, or you could write a loop to print docA then print docB
I strongly believe your suggestion is not good. If anyone is trying to patch chatgpt code to build a project then I strongly advise they get a VBA fundamentals, this I a programming language with weird rules, one mistake could cost you your precious data if you don't have a good understanding of what you're doing
Sub OpenDartFolder() Dim folderPath As String folderPath = "C:\Users\kunko\OneDrive\Desktop\Dart" Shell folderPath, vbNormalFocus End Sub i have written this VBA Code and assingned macro button to it but when i click or run the code an error occurs showing invalid procedure call or argument. what might be the problem please do help me it will be very greatefull of you. this code is used to excess folder present at any location in your pc using excel file and macro so please do help me
Dear family. Basics will always remain same,even bot writes ur code,u shud have ample sense to judge it,becos machine only knows 0 ,1,so stick to basics,so even if any contingency occurs,our work doesn't suffer Hope makes sense. Cheers 🥂
🔥 Get 20% OFF our Excel VBA & Macros Course just for the next 7 days! www.careerprinciples.com/courses/vba-macros-for-business-automation
incredible
Your in which country
I want to take courses
thanks
good
Your tutorials are a lifesaver for a new analyst. There are many more new tools like Alteryx which won't replace Excel but just makes life easier. Wish you could eventually make videos on those.
Your videos are truly exceptional and the level of clarity in your communication is absolutely invaluable. We cannot thank you enough for the tremendous effort and skill you put into creating such helpful content.
Truth 👍
Hi iam from india
Amazing content in such a short video, straight to the point !! Thanks for sharing
Great and simple way of explaining. Thank you so much.
Loved it. More vba please
Well explained. The way and the methodology is very simple and attractive
For the last one, how do you adjust the code so it can handle saving if there's already a file with the name in the path?
Example, if you need to change invoice detail immediately after saving PDF, does it automatically overwrite old file if you click button again or does it do nothing?
Nice video. Annoyingly the email sending doesn't work with the new outlook.
Would the function you created also work for an excel file which is on Sharepoint ?
Hi Kenji, helpful video.
To reduce the vba code could you write?
If Answer = vbNo Then Exit Sub , it's correct?
Brilliant stuff! Do you have a tutorial on how to create a macro to copy and paste into a summary table the various different outputs from a scenario manager please?
What a short and informative video. That you very much
Thank you so much. Your video is very clear. I learn a lot.
Very clearly and well explained! Super helpful video! Thanks a lot😊🙏
Thanks Kenji for this video. I learned from you more.
How can fixed row & column in excel via vba code.
But not change size via mouse & in option row & column width.
Assuming I'm in MS-Word.
How do I read off a table, and then make parts of it disappear?
And what is a good source to find this out, because MIcrosoft's website seems to be really poorly explained on what xy-function does and what can and cannot be included to it.
As an example, I know of "function.Select" but what does it really do? No clue, like what am I selecting, the value or the text. And what does selecting do really?
Here in Excel it seems pretty straight forward, there is one table.
No clue how the code reads out "Quantity" or "Price" out of it, assuming it exists on multiple fields.
And the rest is simple maths, no Dim Variable As int or Set Variable = xyz nonsense.
Hi i liked your video a lot. I am also a VBA programmer in Brazil and just started my channel teaching how to use OpenGL with Excel VBA
i have a problem sir will u solve it? In a column if there is a holiday in a cell then function should merge that cell to next 7 cells like If C4=Holiday then merge cells C4:C10
can you set it up so that if you have a file up the custom function wil work accross all files?
05:51 Kenji, when you say, "this sign," which sign is it?
Sorry it’s the :
Colon sign
Thank you, I have learnt how to create custom function. I use vba just for fun. I want to discuss another problem which I faced. I know excel can’t handle figure more than 15 correctly. I used “NumberFormat=“@“” to convert the digits into text format. It was OK then but when I multiply and product is more than 15 digits, it again turn into the format which don’t require. For example I want to multiply 1111111111111111(col A)x11111111111111111(col B) in Number format without any error. I hope you can do this. Thank you.
thank you for the video. I have a question for Printer object and Printers object. is any Reference library required to install in the Tool->Reference before we can use Pinter and Printers object? I run below code, and get error "object is required" for line "For Each prt In Printers".
Sub ListPrinters()
Dim prt As Printer
For Each prt In Printers
Debug.Print Printer.deviceName
Next prt
End Sub
Hi, When i run the email macro after coding i can see an error called "ActiveX Component can't create objects". Can you help me to solve this issue.
me too, do you find the solution?
Which one is faster to calculate? If statement or vba?
I was toldvba and macros are dying because of powwer query. As a financial analysts is it still importance. Thanks
Hi Kenji, thanks for this video. I need one help. If some one sends me a request and i want to send him an auto email reply saying "Hi we have ack the receipt of your mail. Someone from the team will revert on your request. Kindly note the ticket number 0001" can we automate this and once the ticket is closed then he will get the email "Hi your ticket number 0001 has been closed". How can we do this using excel and outlook ?
regarding excel auto email, what if i need to excel, print as pdf and then email
I really like you man, your thinks are just amazing, please continue
I swear, you have helped me tremendously throughout my career. THANK YOU SO MUCH!!
Hey Kenji I faced a problem when sending the emails. Error shows "ActiveX Component Cant Create Object Run-time 429 Error." Debug line highlighted Set outApp = CreateObject("Outlook.Application"). Could you please help?
Sir it is showing me an error- Run-time error '429'
ActiveX component can't create object
What should I do then?
I'm trying out this example but it's not working. I wonder where I'm not doing it correctly
Thank you so much for this resource!
Very useful examples. For the last example, you gave me an idea of sending a file on the laptop to the printer depending on what the answer of the user is (eg 1 then print docA, 2 then print docB, 3 then print both ). What would the dim for a printer be ? Thanks.
I don't think you'd need a DIM for the printer, you'd need one to determine which document you want to send to the printer e.g.
DIM DocToPrint As String
DocToPrint = _the name of the doc your user selected_ (which would be the result of your function, If 1 then print docA, ElseIf 2 print docB, ElseIf 3 then print doc C)
doc C could just be a copy of docA inserted and saved into docB, or you could write a loop to print docA then print docB
Kenji you are a GODSENT bro
I'm so thankful for your teaching
Haha thanks for watching!
I wonder if microsoft has ever improved and enhance VBA language in terms of api and syntax
Good video. Thank you.
15 minutes video ,just good enough to study for my exam in 1 hour
Thanks Kenji, 12:38 how to send to 2 peoples email or cc another one email?
Hi sir, how to enrol in the VB course and how much it cost, thank you.
Hey thanks for your interest. You can learn more here: www.careerprinciples.com/courses/vba-macros-for-business-automation
How much is the class?
Thank you, Kenji! Can you create more VBA tutorials? Have a good day.
Amazing Video. Must watch for basics of VBA
very clear explanation
can we code it to undo our actions?
Take a picture
I enjoyed this so much that I went ahead and purchased a full bundle course with the discount.
Thanks kenji ❤️
You make everything thing easy and us eager to learn vba❤
That's cool. I didn't know you could do that.
Thank u so much for this
Thank you. Kenji.
you are amazing thank you
Very informative thanks
"Sub ClearContent" is the name he gives and the "...ClearContents" is an actual command in VBA. Two different things.
Talk to chatgpt and copy paste code is easy and fast don't waste your time in write code just learn how to edit code to face any problem
Lmaooooo jit tweakin
Yes i also do same not wasting a single second go ask copy paste done
Bruh, wait til you accidentally get an error that you didnt edit out that deletes your data 😭
True.
I strongly believe your suggestion is not good. If anyone is trying to patch chatgpt code to build a project then I strongly advise they get a VBA fundamentals, this I a programming language with weird rules, one mistake could cost you your precious data if you don't have a good understanding of what you're doing
Bro you underrated ❤ you are the best teacher
Very useful. Thank you!
Nice video. Thanks for sharing.
Please share I want to send emails with multiple vendors at the same time.
Sub OpenDartFolder()
Dim folderPath As String
folderPath = "C:\Users\kunko\OneDrive\Desktop\Dart"
Shell folderPath, vbNormalFocus
End Sub
i have written this VBA Code and assingned macro button to it but when i click or run the code an error occurs showing invalid procedure call or argument. what might be the problem please do help me it will be very greatefull of you.
this code is used to excess folder present at any location in your pc using excel file and macro so please do help me
Hi Kenji, is there any site which sells the templates?
Hello I sell good excel templates for use
More vba please ❤
Useful video, thanks
Thank you!!
@@KenjiExplains You're welcome
Helpful informatiion
never knew vba was this powerful
You are a genius bro :)
Dude the background music makes me so hyped while I'm Typing in some VBA。
Hahaha let’s go 🚀😂
Oh this is great
More VBA videos please!!
I tried it, shows ambiguous name!
very informative thanks sir!
My favorite part about this video was how confusing it was.
Hi friend iam from india
Great explanation! VBA just seems so weak!
Sensai....more vba video's 🙏
Noted!
More VBA please 🙏
Hopefully soon!
Buy the course 🤣🤣🤣
I want to be your disciple please advise.
Keep up the good work!
Thank you!
can you do a part 2?
Noted
thank you professor kenji
Cheers Solomon lol 😆
Effertz Stravenue
Maeve Spring
Lucio Trail
Flatley Cliffs
7:59 Ada namma T.R
😂😂
Interesting
Stanton Passage
Windler Oval
Morar Throughway
Stiedemann Glens
I thought VBA was outdated yet I saw lot of ads asking for it.. smhu 😅
Diamond Lights
You could literally do this with a simple IF excel formula...
Wyman Lights
Green Spur
Dear family.
Basics will always remain same,even bot writes ur code,u shud have ample sense to judge it,becos machine only knows 0 ,1,so stick to basics,so even if any contingency occurs,our work doesn't suffer
Hope makes sense.
Cheers 🥂
Kennith Mount
Cali Drive
Daniella Cape
Cleveland Vista