© VBA JETPACK Introduction to VBA.
-
Upload
austen-franklin -
Category
Documents
-
view
342 -
download
0
Transcript of © VBA JETPACK Introduction to VBA.
![Page 1: © VBA JETPACK Introduction to VBA.](https://reader033.fdocuments.net/reader033/viewer/2022061502/5697bfce1a28abf838ca9a09/html5/thumbnails/1.jpg)
© www.trumpexcel.com
VBAJETPACK
Introduction to VBA
![Page 2: © VBA JETPACK Introduction to VBA.](https://reader033.fdocuments.net/reader033/viewer/2022061502/5697bfce1a28abf838ca9a09/html5/thumbnails/2.jpg)
© www.trumpexcel.com
• VBA stands for Visual Basic for Applications.
• VBA is a programming language used for Microsoft Office Applications. It can be used to automate tasks within Excel (and other applications).
• With VBA, you can do a lot of things that you can not otherwise do in Excel.
VBA….What?
![Page 3: © VBA JETPACK Introduction to VBA.](https://reader033.fdocuments.net/reader033/viewer/2022061502/5697bfce1a28abf838ca9a09/html5/thumbnails/3.jpg)
© www.trumpexcel.com
• Automate a series of tasks (and run it with a single click or shortcut).
• Create functions that does not exist.
• Create Add-ins.
• Create Applications.
VBA at your service….What can you do with it?
![Page 4: © VBA JETPACK Introduction to VBA.](https://reader033.fdocuments.net/reader033/viewer/2022061502/5697bfce1a28abf838ca9a09/html5/thumbnails/4.jpg)
© www.trumpexcel.com
• Sub / Procedure
• Functions
• Events
• Objects
• Variables
VBA Building Blocks
![Page 5: © VBA JETPACK Introduction to VBA.](https://reader033.fdocuments.net/reader033/viewer/2022061502/5697bfce1a28abf838ca9a09/html5/thumbnails/5.jpg)
© www.trumpexcel.com
Object Oriented Programming
![Page 6: © VBA JETPACK Introduction to VBA.](https://reader033.fdocuments.net/reader033/viewer/2022061502/5697bfce1a28abf838ca9a09/html5/thumbnails/6.jpg)
© www.trumpexcel.com
• Name - Sherlock Holmes• House No. - 221B • Street - Baker Street• City - London• Country - England
Object Oriented Programming
![Page 7: © VBA JETPACK Introduction to VBA.](https://reader033.fdocuments.net/reader033/viewer/2022061502/5697bfce1a28abf838ca9a09/html5/thumbnails/7.jpg)
© www.trumpexcel.com
Object Oriented Programming
![Page 8: © VBA JETPACK Introduction to VBA.](https://reader033.fdocuments.net/reader033/viewer/2022061502/5697bfce1a28abf838ca9a09/html5/thumbnails/8.jpg)
© www.trumpexcel.com
Object Oriented Programming
![Page 9: © VBA JETPACK Introduction to VBA.](https://reader033.fdocuments.net/reader033/viewer/2022061502/5697bfce1a28abf838ca9a09/html5/thumbnails/9.jpg)
© www.trumpexcel.com
Object Oriented Programming
![Page 10: © VBA JETPACK Introduction to VBA.](https://reader033.fdocuments.net/reader033/viewer/2022061502/5697bfce1a28abf838ca9a09/html5/thumbnails/10.jpg)
© www.trumpexcel.com
Object Oriented Programming
![Page 11: © VBA JETPACK Introduction to VBA.](https://reader033.fdocuments.net/reader033/viewer/2022061502/5697bfce1a28abf838ca9a09/html5/thumbnails/11.jpg)
© www.trumpexcel.com
Object Oriented Programming
![Page 12: © VBA JETPACK Introduction to VBA.](https://reader033.fdocuments.net/reader033/viewer/2022061502/5697bfce1a28abf838ca9a09/html5/thumbnails/12.jpg)
© www.trumpexcel.com
Object Oriented Programming
Apply red background colour to Cell A1, in the Worksheet (Sheet1), in the Workbook
(Test.xlsx) in Excel
![Page 13: © VBA JETPACK Introduction to VBA.](https://reader033.fdocuments.net/reader033/viewer/2022061502/5697bfce1a28abf838ca9a09/html5/thumbnails/13.jpg)
© www.trumpexcel.com
Object Oriented Programming
Excel
![Page 14: © VBA JETPACK Introduction to VBA.](https://reader033.fdocuments.net/reader033/viewer/2022061502/5697bfce1a28abf838ca9a09/html5/thumbnails/14.jpg)
© www.trumpexcel.com
Object Oriented Programming
WORKBOOK
![Page 15: © VBA JETPACK Introduction to VBA.](https://reader033.fdocuments.net/reader033/viewer/2022061502/5697bfce1a28abf838ca9a09/html5/thumbnails/15.jpg)
© www.trumpexcel.com
Object Oriented Programming
WORKSHEET
![Page 16: © VBA JETPACK Introduction to VBA.](https://reader033.fdocuments.net/reader033/viewer/2022061502/5697bfce1a28abf838ca9a09/html5/thumbnails/16.jpg)
© www.trumpexcel.com
Object Oriented Programming
RANGE (A1)
![Page 17: © VBA JETPACK Introduction to VBA.](https://reader033.fdocuments.net/reader033/viewer/2022061502/5697bfce1a28abf838ca9a09/html5/thumbnails/17.jpg)
© www.trumpexcel.com
Object Oriented Programming
COLOR