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

when i should use

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » When I should use False or True

When I should use False or True

ResolvedVersion 2007

Julie has attended:
Excel VBA Intro Intermediate course
Excel Advanced course

When I should use False or True


Hi, I am not sure about when I should use False or True, in other words, False means yes?

for example,

Application.DisplayAlerts = False ( this mean that I want to display alerts?)

or

Slection.PastSpcial Paste = xlpasteValues, Operation:=xlNone, Transpose:=Fasle

Thank you very much for your help.

RE: when I should use False or True

Hello Julie,

Thank you for your question regarding True/False.

Its the other way round! True usually means yes, and False means no.

e.g.
DisplayAlerts = false
(means do NOT display alerts - if changed to true, you are telling vba to display the alerts!)

I hope this resolves your question. If it has, please mark this question as resolved.

If you require further assistance, please reply to this post. Or perhaps you have another Microsoft Office question?

Have a great day.
Regards,

Mark
Microsoft Office Specialist Trainer

RE: when I should use False or True

Good morning, Mark.

Thank you very much!

Have a nice day too :)

 

Training courses

Training information:

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:

Change the default location for opening and saving spreadsheets

If you are always opening spreadsheets from and/or saving documents to a specific location that is not My Documents, save time by setting this folder as the default for opening files from and saving files to.

Here's how:
1. Go to Tools - Options.

2. Select the General tab.

3. Enter the pathname of the folder you wish to make the default in the Default File Location box (hint: it will be easier to use Windows Explorer to navigate to this folder, then copy and paste the pathname from the address bar at the top of the Windows Explorer screen).

4. Click OK.

You have now changed the default folder for opening and saving spreadsheets.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.