Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: Wed, 3 Sep 2008 10:12:45 +0100,    group: microsoft.public.word.vba.userforms        back       


Return value from another form   
Hi

how can i using VBa return a value from another form. The form will be 
hidden.

Regards

D
date: Wed, 3 Sep 2008 10:12:45 +0100   author:   DMc2007

Re: Return value from another form   
DMc2007 wrote:
> how can i using VBa return a value from another form. The form will be
> hidden.

Expose a public property and query it before destroying the instance...

   Public Property Get ReturnValue() As Long
      ReturnValue = whatever
   End Property

-- 
.NET: It's About Trust!
 http://vfred.mvps.org
date: Wed, 3 Sep 2008 16:00:22 -0700   author:   Karl E. Peterson

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us