Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Kiral Demir   on Mar 09 In MS Office Category.

  
Question Answered By: Grady Stewart   on Mar 09

As I mentioned, you may have to dimension the variables  as Global, or Public as:

Global A as Variant
Global HF as Variant

or

Public A as Variant
Public HF as Variant

I believe either one will work.

I think the problem is that regular DIMensioned variables are only available in
the Modules, or UserForms
where they are declared.
If I remember right, Global variables are available to all
modules/classes/UserForms in the Application.
Public variables are available to other MS Office Applications.

(I may have those reversed)

Nevertheless, that should solve the problem.

Share: 

 

This Question has 8 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on custom dialogue box variable entry trouble Or get search suggestion and latest updates.


Tagged: