Skip to content
Felix
  • Topics
    • My List
    • Felix Guide
    • Asset Management
    • Coding and Data Analysis
      • Data Analysis and Visualization
      • Financial Data Tools
      • Python
      • SQL
    • Credit
      • Credit Analysis
      • Restructuring
    • Financial Literacy Essentials
      • Financial Data Tools
      • Financial Math
      • Foundations of Accounting
    • Industry Specific
      • Banks
      • Chemicals
      • Consumer
      • ESG
      • Insurance
      • Oil and Gas
      • Pharmaceuticals
      • Project Finance
      • Real Estate
      • Renewable Energy
      • Technology
      • Telecoms
    • Introductory Courses
    • Investment Banking
      • Accounting
      • Financial Modeling
      • M&A and Divestitures
      • Private Debt
      • Private Equity
      • Valuation
      • Venture Capital
    • Markets
      • Economics
      • Equity Markets and Derivatives
      • Fixed Income and Derivatives
      • Introduction to Markets
      • Options and Structured Products
      • Other Capital Markets
      • Securities Services
    • Microsoft Office
      • Excel
      • PowerPoint
      • Word & Outlook
    • Professional Skills
      • Career Development
      • Expert Interviews
      • Interview Skills
    • Risk Management
    • Transaction Banking
    • Felix Live
  • Pathways
    • Investment Banking
    • Asset Management
    • Equity Research
    • Sales and Trading
    • Commercial Banking
    • Engineering
    • Operations
    • Private Equity
    • Credit Analysis
    • Restructuring
    • Venture Capital
    • CFA Institute
  • Certified Courses
  • Ask An Instructor
  • Support
  • Log in
  • Topics
    • My List
    • Felix Guide
    • Asset Management
    • Coding and Data Analysis
      • Data Analysis and Visualization
      • Financial Data Tools
      • Python
      • SQL
    • Credit
      • Credit Analysis
      • Restructuring
    • Financial Literacy Essentials
      • Financial Data Tools
      • Financial Math
      • Foundations of Accounting
    • Industry Specific
      • Banks
      • Chemicals
      • Consumer
      • ESG
      • Insurance
      • Oil and Gas
      • Pharmaceuticals
      • Project Finance
      • Real Estate
      • Renewable Energy
      • Technology
      • Telecoms
    • Introductory Courses
    • Investment Banking
      • Accounting
      • Financial Modeling
      • M&A and Divestitures
      • Private Debt
      • Private Equity
      • Valuation
      • Venture Capital
    • Markets
      • Economics
      • Equity Markets and Derivatives
      • Fixed Income and Derivatives
      • Introduction to Markets
      • Options and Structured Products
      • Other Capital Markets
      • Securities Services
    • Microsoft Office
      • Excel
      • PowerPoint
      • Word & Outlook
    • Professional Skills
      • Career Development
      • Expert Interviews
      • Interview Skills
    • Risk Management
    • Transaction Banking
    • Felix Live
  • Pathways
    • Investment Banking
    • Asset Management
    • Equity Research
    • Sales and Trading
    • Commercial Banking
    • Engineering
    • Operations
    • Private Equity
    • Credit Analysis
    • Restructuring
    • Venture Capital
    • CFA Institute
  • Certified Courses
Felix
  • Data
    • Company Analytics
    • My Filing Annotations
    • Market & Industry Data
    • United States
    • Relative Valuation
    • Discount Rate
    • Building Forecasts
    • Capital Structure Analysis
    • Europe
    • Relative Valuation
    • Discount Rate
    • Building Forecasts
    • Capital Structure Analysis
  • Models
  • Account
    • Edit my profile
    • My List
    • Restart Homepage Tour
    • Restart Company Analytics Tour
    • Restart Filings Tour
  • Log in
  • Ask An Instructor
    • Email Our Experts
    • Felix User Guide
    • Contact Support

Objects, Properties and Methods

Understand the object hierarchy in Excel. The course introduces object properties, or characteristics, and methods, or actions, and how these can be manipulated using Excel VBA. Follow practical demonstration of writing Excel VBA procedures to change and perform functions on data in a spreadsheet.

Unlock Your Certificate   
 
0% Complete

11 Lessons (40m)

Show lesson playlist
  • Description & Objectives

  • 1. Excel Object VBA Overview

    04:41
  • 2. Objects, Properties and Methods

    02:17
  • 3. Objects, Properties and Methods Workout

    03:46
  • 4. Range Objects

    04:18
  • 5. Range Object Workout

    04:39
  • 6. Range Objects, Properties and Methods

    04:38
  • 7. Range Objects and Methods Workout

    04:27
  • 8. Worksheets and Workbooks Collection

    03:21
  • 9. Excel and VBA Functions

    01:32
  • 10. Excel VBA Functions Workout

    04:49
  • 11. The Object Browser

    01:03

Prev: Introduction to Excel VBA Next: Variables and Looping Procedure

Range Object Workout

  • Notes
  • Questions
  • Transcript
  • 04:39

Writing Excel VBA code to change the properties of a range object.

Downloads

Range Object Workout EmptyRange Object Workout Full

Glossary

Excel modeling
Back to top
Financial Edge Training

© Financial Edge Training 2025

Topics
Introduction to Finance Accounting Financial Modeling Valuation M&A and Divestitures Private Equity
Venture Capital Project Finance Credit Analysis Transaction Banking Restructuring Capital Markets
Asset Management Risk Management Economics Data Science and System
Request New Content
System Account User Guide Privacy Policy Terms & Conditions Log in
Transcript

In this workout, we need to write VBA code to write the word test into cell C7 and then apply a colour to the interior of that cell.

The first thing we need to do is go into the Visual Basic Editor by a developer and Visual basic.

We then insert a module.

We can keep the name of the module as module one, or we could change the name property to something else.

Let's keep the name as module one.

The first thing that we need to do in our procedure is to start it with the word sub.

Let's call our procedure something pretty intuitive.

We'll call it workout2.

As soon as we press enter LVBA automatically and adds the words end sub to the end of our procedure, and we are going to write our procedure code between subwork out two and end sub.

We require two lines of code here, the first to add the word test to sell C7, and then the second to change the colour property of the cells Interior.

It's really good practice to have each line of code on a separate line within VBA.

First of all, let's identify our range object.

Range C7.

C7 is held within quotes and we want to change the value property .val.

As soon as we start writing the word value.

We can see that auto list members is super, super useful here and we can see the value property.

Excel will automatically capitalize this if we have spelled the word value correctly and we will see value in auto list members.

If the value property is a property of the range object, we want to change that value and we want to apply a new value as it's text.

We hold this within quotes and we want the word test to go into range C7.

The range objects value property will be assigned the word test.

Next, we want to change the colour of the interior of cell C7.

The first thing that we do is we specify our range object range C7.

This time, As we type interior, we can see that the range object has an interior property.

Again, auto list members is super, super useful here.

That interior of the cell, we want to change its colour property, C-O-L-O-R.

We can see that the interior of the range object has a color property.

How do we know? Well, we can see it in auto list members and color has been capitalized.

We want to assign the colour property a different colour.

There's lots of ways we could do this.

I'll choose the visual basic VB green to make the interior of the cell a green colour.

Once I've pressed enter, my procedure is complete.

Let's go back into the front end of Excel and then run our code.

Back in the front end of Excel developer list macros, there's workout two.

We press run almost instantaneously.

The word test is added to C7 and a green shading is applied to the cell.

Excel executes each line of code sequentially, the first line of code.

Well, that adds the word test to C7.

The second line of code, the interior property of that range object and the interior's colour property is then changed to green.

Content Requests and Questions

You are trying to access premium learning content.

Discover our full catalogue and purchase a course Access all courses with our premium plans or log in to your account
Help

You need an account to contact support.

Create a free account or log in to an existing one

Sorry, you don't have access to that yet!

You are trying to access premium learning content.

Discover our full catalogue and purchase a course Access all courses with our premium plans or log in to your account

You have reached the limit of annotations (10) under our premium subscription. Upgrade to unlock unlimited annotations.

Find out more about our premium plan

You are trying to access content that requires a free account. Sign up or login in seconds!

Create a free account or log in to an existing one

You are trying to access content that requires a premium plan.

Find out more about our premium plan or log in to your account

Only US listed companies are available under our Free and Boost plans. Upgrade to Pro to access over 7,000 global companies across the US, UK, Canada, France, Italy, Germany, Hong Kong and more.

Find out more about our premium plan or log in to your account

A pro account is required for the Excel Add In

Find out more about our premium plan

Congratulations on completing

This field is hidden when viewing the form
Name(Required)
This field is hidden when viewing the form
Rate this course out of 5, where 5 is excellent and 1 is terrible.
Were the stated learning objectives met?(Required)
Were the stated prerequisite requirements appropriate and sufficient?(Required)
Were the program materials, including the qualified assessment, relevant and did they contribute to the achievement of the learning objectives?(Required)
Was the time allotted to the learning activity appropriate?(Required)
Are you happy for us to use your feedback and details in future marketing?(Required)

Thank you for already submitting feedback for this course.

CPE

What is CPE?

CPE stands for Continuing Professional Education, by completing learning activities you earn CPE credits to retain your professional credentials. CPE is required for Certified Public Accountants (CPAs). Financial Edge Training is registered with the National Association of State Boards of Accountancy (NASBA) as a sponsor of continuing professional education on the National Registry of CPE Sponsors.

What are CPE credits?

For self study programs, 1 CPE credit is awarded for every 50 minutes of elearning content, this includes videos, workouts, tryouts, and exams.

CPE Exams

You must complete the CPE exam within 1 year of accessing a related playlist or course to earn CPE credits. To see how long you have left to complete a CPE exam, hover over the locked CPE credits button.

What if I'm not collecting CPE credits?

CPE exams do not count towards your FE certification. You do not need to complete the CPE exam if you are not collecting CPE credits, but you might find it useful for your own revision.


Further Help
  • Felix How to Guide walks you through the key functions and tools of the learning platform.
  • Playlists & Tryouts: Playlists are a collection of videos that teach you a specific skill and are tested with a tryout at the end. A tryout is a quiz that tests your knowledge and understanding of what you have just learned.
  • Exam: If you are collecting CPE points you must pass the relevant CPE exam within 1 year to receive credits.
  • Glossary: A glossary can be found below each video and provides definitions and explanations for terms and concepts. They are organized alphabetically to make it easy for you to find the term you need.
  • Search function: Use the Felix search function on the homepage to find content related to what you want to learn. Find related video content, lessons, and questions people have asked on the topic.
  • Closed Captions & Transcript: Closed captions and transcripts are available on videos. The video transcript can be found next to the closed captions in the video player. The transcript feature allows you to read the transcript of the video and search for key terms within the transcript.
  • Questions: If you have questions about the course content, you will find a section called Ask a Question underneath each video where you can submit questions to our expert instructor team.