best training excel intermediate - excel vba

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel Training and help » best training excel intermediate - Excel VBA

best training excel intermediate - Excel VBA

resolvedResolved · Low Priority · Version Standard

Chi Wah has attended:
Excel VBA Intro Intermediate course
Excel VBA Intro Intermediate course

Excel VBA

why do you use Set in some variable declarations?

RE: Excel VBA

Chi Wah

Thanks for the question.

The word Set is used in VBA to assign an Object to an Object type variable. eg

Dim MyRange as Range

Set MyRange = Sheets("Sheet1").Range("A1:D20")

Carlos


 

Excel tip:

Select only cell that contain text to lock format

For selecting cells that only contain Text in Excel

By selecting cells that only contain text, you can delete, fill or protect cells of this type.

Use short cut to Go to box (F5) or Edit, Go to
In the dialog box, click special button & select Constants and only check text or any other desired type.

Click OK.

And text cells will all be highlighted for you to apply format. Please note only works on one sheet at a time.

View all Excel hints and tips


Server loaded in 0.07 secs.