0% found this document useful (0 votes)
30 views1 page

5.what Does Option Explicit Refer To?: Byte, Integer, Single, Long, Double, Decimal, Date, Currency, Object, Boolean

VBA allows for single-line comments using an apostrophe and supports declaring variables with DIM and constants with Const. Debugging can be done using breakpoints and step-by-step execution. VBA has built-in looping statements like For, Do, and While loops and supports data types like numbers, dates, currency, and Boolean. Shortcuts include Alt+F11 to open the VBA editor, Alt++ for sum, and Fn+F4 to insert a cell reference. Excel has limits on open workbooks and cells of 1,048,576 rows by 16,384 columns based on available memory.

Uploaded by

Akij Group
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views1 page

5.what Does Option Explicit Refer To?: Byte, Integer, Single, Long, Double, Decimal, Date, Currency, Object, Boolean

VBA allows for single-line comments using an apostrophe and supports declaring variables with DIM and constants with Const. Debugging can be done using breakpoints and step-by-step execution. VBA has built-in looping statements like For, Do, and While loops and supports data types like numbers, dates, currency, and Boolean. Shortcuts include Alt+F11 to open the VBA editor, Alt++ for sum, and Fn+F4 to insert a cell reference. Excel has limits on open workbooks and cells of 1,048,576 rows by 16,384 columns based on available memory.

Uploaded by

Akij Group
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

1.Mention what are the comments style used in VBA?

quotation mark (')


 2.In VBA how we can declare variable and constant?
keyword “DIM”  keyword “Const.”
3.  Explain what is ADO, ODBC and OLEDB?
ActiveX Data Objects,  Open Database Connectivity
4. Explain how to debug a VBA code?
Using Breakpoints (F9) Step by step execution (F8)
5.What does Option Explicit refer to?
Ans: Option Explicit makes the declaration of Variables Mandatory
6. What is the difference between Procedure and Functions?
Procedures or Subroutines will not return a value; functions will return values.
7. What are the built-in Class modules?
Workbook, Worksheet modules are Class modules.
8. What is the shortcut to go to VBA editor screen?
You can use the ‘Alt+F11’ key to go to VBA editor screen
9. What are the available looping statements?
For…. Next loop, Do While…. Loop, Do until Loop, Do….Loop, Until..,Do While
Not…Loop, While…. Wend loop
10. Data Type
Byte, Integer, Single, Long, Double, Decimal, Date, Currency, Object, Boolean
11. Define the shortcut for sum?
ALT and +
12.What is the shortcut to reference the cell?
Fn +F4
13.Excel specifications and limits

Open workbooks Limited by available memory and system


resources
Total number of rows and columns on a 1,048,576 rows by 16,384 columns
worksheet

You might also like