access visual basic courses - vba excel

TrustPilot

starstarstarstarstar Excellent

  • Home
  • Courses
  • Promotions
  • Schedule
  • Formats
  • Our Clients

Forum home » Delegate support and help forum » Microsoft VBA Training and help » access visual basic courses - VBA in Excel

access visual basic courses - VBA in Excel

resolvedResolved · Low Priority · Version Standard

Ian has attended:
Excel VBA Intro Intermediate course

VBA in Excel

What is a variant?

RE: VBA in Excel

Ian

A Variant is defined as a structure that uses a total of 16 bytes.

In creating Variables the Variant is the default data type.

If in Variable declaration a Data type is ommited the computer gives it the Variant data type.

Regards

Carlos


 

VBA tip:

Display Text In a Msgbox On Multiple Lines

When displaying text in a MsgBox you may need to show it over multiple lines. To do this use:

vbCrLf

As in:

MsgBox "The System has detected an error." & vbCrLf & "Contact your System Administrator"

The first sentence in quotes will appear above the second in the MsgBox.

View all VBA hints and tips


Server loaded in 0.05 secs.