The meaning of the mfTab

F

Frank Situmorang

Hello,

I appreciate if anybody can help me explaining the meaning of of this VBA:
Private mfTab As Boolean

Thanks a lot
 
A

Allen Browne

Private is like Dim. It declares a variable.
This one is a Boolean, i.e. it accepts a yes/no value.

The prefix "m" suggests that is it s module-level variable. See if it
occured in the General Declarations section of the module (top, with the
Option statements.) If so, the Private (instead of Dim) means that its scope
is limited to code in this module, i.e. code in other modules cannot refer
to mfTab.

The second prefix "f" probably means it is a flag - synomym for yes/no type.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top