VBA interview questions

31 questions. Tap “Show answer” to check yourself.

Advertisement
  1. I would like to do the following. If cell A1 contains "Hello" and if the focus is on A1 and if the Enter key is pressed, then the focus should go to B2 and a MsgBox should appear. I think this can be done with key events, something like OnKeyDown, but how

  2. To set the command button for ESC, Which property needs to be changed?

  3. What is the difference between Msgbox Statement and MsgboxQ function?

  4. Name the four different cursor and locking types in ADO and describe them briefly

  5. What are the ADO objects? Explain them.

  6. Type Library and what is its purpose?

  7. Which property of menu cannot be set at run time?

  8. VB and Object Oriented Programming

  9. What is differece b/w Module and class Modules in vb6?thanks

  10. Which Property is used to compress a image in image control?

  11. How to register a component?

  12. Advantage of ActiveX Dll over Active Exe

  13. Advertisement
  14. Which controls have refresh method?

  15. What does Option Explicit refer to?

  16. Benefit of wrapping database calls into MTS transactions

  17. What are the different compatibility types when we create a COM component?

  18. 3 main differences between flexgrid control and dbgrid control

  19. Which property of textbox cannot be changed atruntime and what?s the maximum size of a textbox?

  20. Which controls have refresh method, clear method

  21. Constructors and distructors

  22. What was introduced to Visual Basic to allow the use of Callback Functions?

  23. Name of the control used to call a windows application

  24. What do ByVal and ByRef mean and which is the default?

  25. What methods are called from the ObjectContext object to inform MTS that the transaction was successful or unsuccessful?

  26. Advertisement
  27. Which controls can not be placed in MDI?

  28. In VB which control does not have event?

  29. How to create Crystal Report in Visual Basic 6.0

  30. Name the four different cursors and locking types in ADO and describe them briefly?

  31. How would you convince a big brand of chocolate to sell a middle range of chocolate products?

  32. WHAT IS DATA ANALYSIS?

Advertisement