Excel VBA Objects: Events and Event Procedures

  Рет қаралды 4,996

Excel Macro Mania

Excel Macro Mania

2 жыл бұрын

Get the Excel VBA Objects Guide for Intermediate with extended and revised content here: excelmacroclass.blogspot.com/...
Welcome to the Excel VBA Objects Series. In this video we'll talk about the events, which objects have events and how to handle and respond to those with event procedures, and also what are independent events and which be handled with VBA macros. Then we will cover events for each specific object in detail in upcoming videos for each of the objects. In the next video, and yet as part of the introductory videos of the Excel VBA Objects series, we will navigate and learn how to use the object browser and automatic listing options in Excel VBA.
The following videos in the series are going to focus on each of the most important Excel VBA objects individually. We will cover the Application object, the Workbook object, the Sheets and Worksheet objects, the WorksheetFunction object, the Range object, the Shape object, and the Chart object.
Find more content and numerous macro examples and other Excel VBA learning materials in the Excel Macro Class blog under the direct link: excelmacroclass.blogspot.com/
And yet, if you want more, you can find various Excel templates, dashboards, and applications of different nature in the other blogs of the Excel Macro Mania saga:
Excel Macro Fun (excelmacrofun.blogspot.com/)
Excel Macro Business (excelmacrobusiness.blogspot.com/)
Excel Macro Sports (excelmacrosports.blogspot.com/)

Пікірлер: 5
@mixtape8476
@mixtape8476 Жыл бұрын
Thanks mate, it will help me a lot
@ExcelMadeEasy444
@ExcelMadeEasy444 2 жыл бұрын
Nice Explained.
@ricardoricric
@ricardoricric Жыл бұрын
Hi! Do you have any examples regarding workbook sheet change events?
@ExcelMacroMania
@ExcelMacroMania Жыл бұрын
Any worksheet event that you want to extend to all sheets in the workbook should go into a workbook-level sheet event. For example, if you use a Change or SelectionChange event in a worksheet, and you want to have the same functionality in all worksheets, you would rather have just one event procedure (SheetChage or SheetSelectionChange) in ThisWorkbook. That applies to any other sheet event and is good practice. Another thing I often do is using the NewSheet event to add a link to a list of contents (if you have that) when a new sheet is created. I also used that event to format every new sheet, for example, the code below copies the headers and format of a reference sheet to every new sheet: Private Sub Workbook_NewSheet(ByVal Sh As Object) 'copy headers from reference sheet to new sheet Sheets(1).Rows(1).Copy Sh.Paste 'copy format to new sheet Sheets(1).Cells.Copy Sh.Cells.PasteSpecial (xlFormats) End Sub
@ricardoricric
@ricardoricric Жыл бұрын
@@ExcelMacroMania Thanks for clarifying that! Excelent! :)
Excel VBA Objects: Object Browser and Automatic Lists (Object vs Class)
12:24
Excel VBA Objects: Properties and Methods
12:44
Excel Macro Mania
Рет қаралды 5 М.
아이스크림으로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 58 МЛН
تجربة أغرب توصيلة شحن ضد القطع تماما
00:56
صدام العزي
Рет қаралды 57 МЛН
When You Get Ran Over By A Car...
00:15
Jojo Sim
Рет қаралды 34 МЛН
Cool Items! New Gadgets, Smart Appliances 🌟 By 123 GO! House
00:18
123 GO! HOUSE
Рет қаралды 16 МЛН
Free Excel VBA Course #23 - Event Procedures in VBA
24:54
TrumpExcel
Рет қаралды 19 М.
How VBA Objects Really Work in Memory
17:46
Excel Macro Mastery
Рет қаралды 53 М.
Worksheet change event Excel VBA
18:13
Excel & VBA
Рет қаралды 16 М.
Excel VBA: The Magic of the Worksheet Change Event
14:24
Excel Macro Mastery
Рет қаралды 71 М.
Excel VBA Introduction Part 20.1 - Event Procedures
41:01
WiseOwlTutorials
Рет қаралды 113 М.
VBA Classes - The Definitive Guide
31:03
Data Ben
Рет қаралды 34 М.
Excel VBA Objects: Chart Object (Part 1)
17:34
Excel Macro Mania
Рет қаралды 2,6 М.
VBA Classes
40:43
Siddharth Rout
Рет қаралды 8 М.
Learn How to Use Properties and Methods in Excel VBA Effectively
13:09
아이스크림으로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 58 МЛН