UrbanPro
true

Learn Microsoft Excel Training from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Why Option Explicit is Required in the VBA Editor

Kumar S
07/04/2018 0 0

Hi Folks,

Do you know Excel VBA Editor has functionality where you don't need to declare a variable in memory (DIM).
But what will happen if you write a program without declaring a variable nothing happens?
Then why do we need to declare a variable and what is Option Explicit? Yes here comes the answer.
When you write option explicit at the top of your VBA Editor VBA will force you to declare a variable it's a standard practice to declare a variable.
One more point when you are not declaring a variable in VBA by default VBA Program considers that as a variant data type which consumes more space, Also it increases programs running time.
So next time when you write a program don't forget to declare a variable.
Happy learning!!

0 Dislike
Follow 2

Please Enter a comment

Submit

Other Lessons for You

HERE TODAY WE WILL USE THE SUMPRODUCT FUNCTION
A B C D E 1 SR.NO NAME SERIES _1 SERIES_2 TOTAL AMOUNT 2 1 VEERU 2 2 4 =sumproduct(D2,E2) 3 2 MAHIPAL 4 6 24 =sumproduct(D3,E3) 4 3 NIHSA 6 8 48 =sumproduct(D4,E4) 5 4 UMA 10 2 20 =sumproduct(D5,E5) 6 5 SHANKER 12 3 36 =sumproduct(D6,E6) 7 6 MAHESH 7 3 21 =sumproduct(D7,E7) 8 7 KAPIL 8 2 16 =sumproduct(D8,E8) ...

Hidden Gems of MS Excel - Compare Year-on-Year Performance Using Pivot Table
Did You know You can Compare Year-on-Year& Performance Using Pivot Table?Yes. Just drag-&-drop and Compare Year-on-Year& Performance Quickly.& Year-on-Year simply means Periodic. As per...

Data Validation In Excel
MS Excel data validation feature allows you to set up certain rules that dictate what can be entered into a cell. For example, you may want to limit data entry in a particular cell to whole numbers between...

Some Excel Functions
You need to know about these following functions which are based on Microsoft Excel 2010.1. Speedily Move and Copy Data in Cells:-If you want to move one column of data in a spreadsheet, the fast way...
I

ICreative Solution

0 0
0

Basic excel required for MIS position
Dear Students, Today we will know about the mis and its importance in business world. In Business world, organisation's have many business problem related to process are exists. For taking any decision,...
X

Looking for Microsoft Excel Training Classes?

The best tutors for Microsoft Excel Training Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Microsoft Excel Training with the Best Tutors

The best Tutors for Microsoft Excel Training Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more