View Single Post
  #1  
Old December 20th 06, 01:41 PM posted to microsoft.public.outlook.program_vba
Cel
external usenet poster
 
Posts: 3
Default Change public VBA variable from form VBScript code

Hello !

Here's the problem : how do i set the value of a variable that i have
defined as a public variable in VBA in MS Outlook 2007 main project1 class,
how do i set the value of that variable in VBScript that is placed in a
custom form in Outlook ?

e.g.
in Outlook main project1 class :
Public iwanttobeeverywhere As Variant
in VBScript in a custom appointments form :
[ how do i refer to the defined variable above ] = "icanbeeverywhere"

Thanx ahead !


p.s. it would be useful to know if it is possible to also call a public VBA
function from VBScript like that ?
Ads