Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

CP212 Lecture Notes

Rating
-
Sold
-
Pages
11
Uploaded on
23-07-2023
Written in
2022/2023

The "CP212 Lecture Notes" document provides a comprehensive overview of the "Windows Application Programming" course, focusing on VBA (Visual Basic for Applications) programming. The notes cover essential concepts and practical applications of VBA within the Windows environment, with the main textbook reference being "VBA for Modellers." These notes serve as a valuable resource to aid students in understanding and applying VBA in Windows application development.

Show more Read less

Content preview

Chapter 2:
- Visual basic programming language: texted based languages (ex: python, C)
- VB vs VBA
- Subroutine, program & Sub
- Methods (set of arguments)



Chapter 3:
➔ firstName = InputBox(“Enter first name:”, “First Name”) -> Text in the dialog box
◆ First name is the title (Parentheses are required, no spaces)
➔ MsgBox”The product’s unit price is $2.4.”, vbInformation, “Selling price”
◆ No parentheses required, vblinfo → type of an icon
➔ There are 4 types of icons:
◆ VbInformation, vbQuestion, vbCritical, vbExclamation
➔ MsgBox InputBox(“Type your name.” “User’s name”), vbInformation, “User’s name”
◆ Must start with parentheses
➔ To write a statement that is more than one line → Use Space + underscore
➔ Functions of excel: we have to start with WorksheetFunction
◆ LN,SQRT,RAND → cannot be used
➔ String functions
➔ Specifying a property & Method



Week 6

Workbooks, charts and arrays
● Better messages format





● Saving workbooks

, ○





● Charts in VBA





● Chart properties

Document information

Uploaded on
July 23, 2023
Number of pages
11
Written in
2022/2023
Type
Class notes
Professor(s)
Wilfrid laurier
Contains
All classes
CA$12.17
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
WilfridLaurier

Get to know the seller

Seller avatar
WilfridLaurier Wilfrid Laurier
View profile
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
2 year
Number of followers
0
Documents
3
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions