Professional Documents
Culture Documents
VBA Sharing Course
VBA Sharing Course
I. • CHOOSING TEAM
V. • ROUND 3 | ACCELERATION
VII. • SUMMARY
I. CHOOSING TEAM
1 Nguyễn Văn 1 Team Excel VBA Team Excel Macro
2 Nguyễn Văn 2
3 Nguyễn Văn 3
4 Nguyễn Văn 4
5 Nguyễn Văn 5
6 Nguyễn Văn 6
7 Nguyễn Văn 7
8 Nguyễn Văn 8
9 Nguyễn Văn 9
10 Nguyễn Văn 10
11 Nguyễn Văn 11
12 Nguyễn Văn 12
13 Nguyễn Văn 13
14 Nguyễn Văn 14
15 Nguyễn Văn 15
16 Nguyễn Văn 16
17 Nguyễn Văn 17
18 Nguyễn Văn 18
19 Nguyễn Văn 19
20 Nguyễn Văn 20
II. ROUND 1 | WARM-UP
1. Target: Solving math with excel
2. Rule
- Must use excel tool
- Don't use equation
- Time: 5 minutes
3. Score
- If you meet the target during 5 minutes, you can receive 50 points.
- You receive further 1 point for each remaining second.
0:05:00
III. ROUND 2 | OVERCOMING OBSTACLES
1. Target: Insert pictures into the excel
2. Rule:
- Insert the picture (total: 30 pictures) in column C that matches the name in column B
- Time: 5 minutes
3. Score
- If you meet the target during 5 minutes, you can receive 100 points.
- You receive further 3 points for each remaining second.
0:05:00
IV. VBA INTRODUCTION
WHAT IS VBA?
Advantages Disadvantages
- Automates repetitive and routine tasks - You have to know to write programs in VBA. Luckily,
- Reduces the turnaround time it’s not as difficult as you might expect
- Reduces the formulas burden used in Excel reports - Sometimes, things can go wrong, In other words, you
- Excel always executes the task in exactly the same can’t blindly assume that your VBA program will
way always work correctly circumstances
- If you’re a good macro programmer, Excel always - VBA is moving target. As you know, Microsoft is keep
performs the task without errors upgrading Excel. Sometimes VBA code you’ve written
doesn’t work properly with older versions or with a
future version of Excel
IV. VBA INTRODUCTION
HOW TO ENABLE THE DEVELOPER TAB IN EXCEL?
Step 1: On the File tab, go to Options > Customize Ribbon
Step 2: Under Customize the Ribbon and under Main Tabs, select the Developer check box
Write macros
Run macros that you previously recorded
Use XML commands
Use ActiveX controls
Developer tab
Create applications to use with Microsoft Office programs
Use form controls in Microsoft Excel
Work with the ShapeSheet in Microsoft Visio
Create new shapes and stencils in Microsoft Visio
IV. VBA INTRODUCTION
VISUAL BASIC DEVELOPMENT ENVIRONMENT (ALT F11)
IV. VBA INTRODUCTION
SOME METHOD TO WRITE VBA CODE
- Sign up for the online courses
- Sign up for the offline courses
- Self-learning
• Sub
1
• Code 1 referenced from source A on the internet
2
• Excel Formula + Excel Macro
3
One of the methods • Code 2 referenced from source B on the internet
4
• Excel Formula + Excel Macro
5
• Code 3 referenced from source C on the internet
6
• End Sub
7
IV. VBA INTRODUCTION
EXAMPLE OF EXCEL VBA & EXCEL MACRO
0:05:00
VI. ROUND 4 | FINISH
1. Target: The less the better
2. Rule:
- Use ←↑↓→ on the keyboard 2048
- Time: 5 minutes
3. Score
Target 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768 65536 131072 262144
Point 0.25 0.5 1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768
0:05:00
VII. SUMMARY