excel advanced training - select case

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

Forum home » Delegate support and help forum » Microsoft Excel Training and help » excel advanced training - Select case

excel advanced training - Select case

resolvedResolved · Low Priority · Version Standard

Jalpa has attended:
Excel VBA Intro Intermediate course

Select case

How do you structure a select case?

RE: Select case

Jalpa

The Select Case routine has the following structure:

Select Case Country

Case "UK"

DeliveryCost = 2.00

Case "Ireland

DeliveryCost = 2.50

Case Else

DeliveryCost = 4.00

End Select


Hope this helps

Carlos

 

Training courses

 

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

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.08 secs.