A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Change public VBA variable from form VBScript code



 
 
Thread Tools Search this Thread Display Modes
  #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 ?
  #2  
Old December 20th 06, 02:15 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Change public VBA variable from form VBScript code

Answered at http://www.outlookcode.com/threads.a...essageid=20953. Please do not post in multiple Microsoft newsgroups.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Cel" wrote in message ...
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 ?

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to replace Default Contact form with Customised conact form using VBScript code Satish Boddapati Outlook - Using Contacts 0 October 12th 06 09:20 AM
How to replace Default Contact form with Customised conact form using VBScript code Satish Boddapati Outlook - Installation 0 October 12th 06 09:19 AM
How to open Public Folders 'Contact Form' using VBA mmattson Outlook and VBA 1 May 17th 06 11:06 PM
VBA or VBScript goshute Outlook and VBA 1 March 29th 06 02:01 AM
Running query from Access Form commmand using VBA code Berny Outlook and VBA 4 January 16th 06 03:12 PM


All times are GMT +1. The time now is 08:44 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.