Welcome to Lockergnome.com!
HomeHome FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Public Variable

 
   Home -> Office -> User Forms RSS
Next:  User Forms: Public Variable  
Author Message
Mike Archer

External


Since: Jul 17, 2006
Posts: 5



(Msg. 1) Posted: Mon Aug 06, 2007 2:28 pm
Post subject: Public Variable
Archived from groups: microsoft>public>word>vba>userforms (more info?)

Hello.
I am delclaring a variable in the declarations area of the a module. So
when I show a form, I should be able assign a value to it, unload the form,
and still have the value of the variable... right? The variable is empty
after the user form is unloaded. Please help!
--
Thanks,
Mike
Back to top
Login to vote
Doug Robbins - Word MVP

External


Since: Jul 14, 2006
Posts: 2538



(Msg. 2) Posted: Tue Aug 07, 2007 2:16 am
Post subject: Re: Public Variable [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Make sure that you do not also have the variable declared in the
declarations section of the code in the form itself.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Mike Archer" <MikeArcher RemoveThis @discussions.microsoft.com> wrote in message
news:C40CE203-7926-48B4-BFC8-533F0CB1E707@microsoft.com...
> Hello.
> I am delclaring a variable in the declarations area of the a module. So
> when I show a form, I should be able assign a value to it, unload the
> form,
> and still have the value of the variable... right? The variable is empty
> after the user form is unloaded. Please help!
> --
> Thanks,
> Mike
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> User Forms All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 General
 Microsoft Windows XP
 Microsoft Windows Vista
 Microsoft Windows (other)
  Microsoft Office
 Microsoft Office (other)
 Computer Security
 Linux
 Movies


[ Contact us | Terms of Service/Privacy Policy ]