Excel Macro Class 1 - Getting Started Programming Macros

Excel Macro Class 1 - Getting Started Programming Macros

TeachExcel

6 лет назад

624,078 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Mariam William
Mariam William - 19.07.2023 10:07

Hi! I've just been trying this range("A2").Value = "gov." and it's not working at all. Every time I do it, it gives me an error and I don't know why. Can you help me with that?

Ответить
AJ
AJ - 09.04.2023 03:52

Awesome video. Thank you

Ответить
Sreedhar Likit
Sreedhar Likit - 21.02.2023 05:37

Sir
Super

Ответить
Shi Huan
Shi Huan - 07.01.2023 03:32

Hi does anyone having same issue as mine, im trying to export data from access to excel, in access the data is refreshed, but when i try to export it to the linked excel file, the excel file is not working. Any suggestion for this issue please?

Ответить
Abdulhamid Alhaddadi
Abdulhamid Alhaddadi - 04.12.2022 22:00

Thank you sir

Ответить
Kenneth Owino
Kenneth Owino - 15.10.2022 12:05

The best explanation on macros I've seen for a beginner. Thank you so much

Ответить
Hussein Alwahab
Hussein Alwahab - 24.07.2022 08:37

perfect video

Ответить
Q WW
Q WW - 16.05.2022 03:30

I am finally learning Macro which I have been avoiding since 2002.

Ответить
OfficeTricks
OfficeTricks - 16.12.2021 18:38

A perfect video for a beginner. Clear explanation. Thank you...

Ответить
OĞUZ TÜRKYILMAZ
OĞUZ TÜRKYILMAZ - 04.12.2021 17:35

Thank you

Ответить
Mr. VJ
Mr. VJ - 04.11.2021 16:06

Simple and elegant to learn. Thanks for sharing

Ответить
Vince Brindale
Vince Brindale - 14.09.2021 20:44

Could you put or assign any name of the macro, like for example "Sub Unknown"? Where does that name came from? It's a bit confussion to me as beginner where that came from. Please help, no video has covered nor explain where that was derived from.

Ответить
KANNAN MASSEY
KANNAN MASSEY - 12.09.2021 12:42

Gm. Can we prompt user to select a range. Kindly guide

Ответить
sonet mollick
sonet mollick - 01.09.2021 22:10

Awesome.

Ответить
Natasha Samuel
Natasha Samuel - 31.08.2021 21:54

Great class.
Keep up the good work.

Thank You,
Natasha Samuel

Ответить
ferdaus Vidworld
ferdaus Vidworld - 04.07.2021 18:14

Thanks for best tutorial!

Ответить
SimpleExcelVBA
SimpleExcelVBA - 01.07.2021 08:43

This is what complete beginner needs, really good job :)

Ответить
Jenn Haefner
Jenn Haefner - 05.06.2021 22:14

The example files aren't available in the link in the description box. :( great tutorial though, tysm for this!

Ответить
BARTLANTV
BARTLANTV - 02.06.2021 09:21

Nice video, please upload more videos about this for beginners like me...

Ответить
Restless Media
Restless Media - 30.05.2021 18:36

Love it could you share workbook vlookup also pls

Ответить
Sapna apna apna
Sapna apna apna - 20.05.2021 21:01

Nice
My first macro
Understand very well
Great

Ответить
Sandy
Sandy - 11.04.2021 05:01

For the activesheet step, does it always need to say “sheet2” exactly? I come across a problem when I try to run my macro but it does not populate to a new sheet because my sheet2 has a late aft been moved or delete with other data from prior report...
like if I’ve ran the macro multiple times and delete the sheet 2...
I’m not sure if I make any sense. 😥

Any help/solution is appreciated!
Thank you!

Ответить
Thomas Halecky
Thomas Halecky - 29.03.2021 04:13

All lines of code that you started with. Are they meaningless?

Ответить
alhajiealieu wann
alhajiealieu wann - 26.03.2021 04:14

Thanks

Ответить
SURESH BABU TG
SURESH BABU TG - 23.03.2021 18:57

Thank you very much... Very nice presentation...

Ответить
itsMyLife
itsMyLife - 07.02.2021 20:16

Clean and neat tutorial

Ответить
Al
Al - 28.01.2021 05:48

Very useful. Thank you so much. Best Excel VBA crash course out there.

Ответить
Musika At Iba Pa
Musika At Iba Pa - 03.01.2021 16:56

Thanks for sharing this....

Ответить
Digital Aayam
Digital Aayam - 25.12.2020 16:12

Nice one

Ответить
Christopher Moawad
Christopher Moawad - 21.12.2020 00:50

I always loved Excel but doing code on it is mind blowing to me

Ответить
Jon Pye
Jon Pye - 04.12.2020 21:33

Another great video, most helpful well presented and understood. I look forward to more.

Ответить
Daniel Ferry
Daniel Ferry - 02.12.2020 01:09

A macro is a series of user-actions (tasks) recorded by the Excel (or another VBA host) Macro Recorder. A Macro is a clumsy and false name for a PROGRAM that may or may not interact with it's host application. Recorded macros lack intelligence, logic and branching and loops, never use variables, and include hugely bloated, superfluous lines of code. As a professional PROGRAMMER since the 1980s who grew up in the 60s and 70s using many forms of BASIC, including every edition of Visual BASIC in the 90s, the term VBA Macro is an insult. VBA is precisely VB6, tweaked to require a host. VB6 was a full-blow Windows Rapid Application Development system. VB6 had no host program and VB6 code could be compiled into Windows executables and DLLs and OLE ActiveX Controls. In 1993, Microsoft decided to replace Excel's native automation system (Excel 4.0 XLM) with VB6. The result was named VBA (Visual Basic for Applications), which also replaced WordBasic in MS Word and AccessBasic in MS Access and VBScript in MS Outlook. As a result, VBA is a fully fledged programming language with a near 60-year development history going all the way back to Dartmouth BASIC. Microsoft's idea was to use VB as a more potent task automation language that could be standardized throughout the MS Office Suite. But VBA is much, much, much more capable than that limited mission. VBA is a Turing Complete programming language. No one uses the term macro to describe User Defined Functions, which are of course written in VBA. So why should any other procedures written in VBA that use variables and logic and branching and loops be called macros? They shouldn't because they aren't. In the first few seconds of this video you state that the video will not cover recording macros... which makes your video title completely wrong and misleading. This video series is a tiny introduction for absolute beginners to programming in VBA. The VBA language is much more than this and can be used to pretty much solve any problem or run any algorithm in computer science. VBA is NOT a macro language. It is a powerful programming language and supports several programming paradigms: event-driven, procedural, object-oriented, and functional with recursion. The fact that Microsoft engineered Macro Recorders for their Office applications and chose to use VBA as the language that the recorders use in order to record, does not make VBA a macro language. When you write a VBA program you are not writing a macro. A macro is something recorded, not reasoned.

Ответить
Tom Atae
Tom Atae - 19.11.2020 03:12

Thank you for sharing!

Ответить
Mahmoud Hassan
Mahmoud Hassan - 13.11.2020 20:43

Well done sir .. Go ahead , we will become very professional programmers within your lessons

Ответить
Monoj Shaw
Monoj Shaw - 07.11.2020 00:49

You present very well man. Thanks

Ответить
Sachin Kanchan
Sachin Kanchan - 05.11.2020 01:22

Really it's awesome way to teach macro by using programming , thanks for making video programmatically. Everybody talks about to Record Macro. And you are the first one ignored Record Macro to make clear concept,... thanks again.. Love from India.

Ответить
mekides bekele
mekides bekele - 28.10.2020 15:26

Thank you so much

Ответить
Krithi Anu
Krithi Anu - 16.10.2020 18:25

I'm a beginner..this session is very much useful for me ... its crisp and clear to understand ..to be frank ur video made me interest to learn macros further ..i really need to appreciate ur work good job keep spreading the knowledge to others ...I have subscribed ur channel .keep going ...not but not least u have very pleasant voice..good luck ..

Ответить
Swaraj Shrma
Swaraj Shrma - 17.09.2020 15:48

Why I'm getting error of Cant execute code in break mode

Ответить
B Canada
B Canada - 02.09.2020 22:33

Very interesting. Good to learn in the future

Ответить
Carmela Camba
Carmela Camba - 01.09.2020 16:28

everything works except activating worksheet, i'm loss.

Ответить
Marco Heerdink
Marco Heerdink - 30.08.2020 10:12

Ever heard of CODE INDENTING??????

Ответить
Romeo Dario Chiu
Romeo Dario Chiu - 29.08.2020 10:31

Already corrected it Sir. Thank you.

Ответить
Romeo Dario Chiu
Romeo Dario Chiu - 29.08.2020 10:05

Can't proceed to sheet sir. Pop up box quote: Can't execute code in break mode. Thank you

Ответить
Pat
Pat - 26.08.2020 23:27

I watched your video for class 1 yesterday and can't wait to learn more. But a problem has come to one of my Excel workbooks for work. One of the worksheets in my Police Dept employee workbook I created for mail merge data. Today when I went in to add a new officer, the cells didn't have the outline border highlighted and the grab handle on the bottom right of the cell, to show which cell I was in. I couldn't figure out why so I decided to look at any code that might be in the VBA window. I pressed Alt + F11 and it went directly to the VBA window. But there wasn't any code available to look at. So I Pressed Alt + F11 again to go to the worksheet window. But it didn't go there. I did this 4 times with no luck. Then I noticed that what it did was bring up 4 chart worksheets. There isn't anything on these sheets but it is in the design mode for excel. The problem is that I can't delete these sheets.

So please, can anybody help me figure out:
1) How to delete these 4 Chart worksheets
2) Tell me what is wrong with my Mail Merge data sheet and how to fix it.

Thanks so very much!!!!

Ответить