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

Tags: , , ,

How to Customize Outlook Calender 2003....





 
 
Thread Tools Display Modes
  #21  
Old October 11th 07, 02:33 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How to Customize Outlook Calender 2003....

In design mode, click the View Code button on the toolbar. The code language is VBScript. In addition to the Item-level events offered in the Script | Event Handler dialog, you can also write code for the Click event of a command button and some other unbound controls.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"masani paresh" wrote in message ...

See i have made the form to meet my requirements at location Tools - forms
- Design Forms - appointments -- P.2
and rename it to "Find Conference Room". I am having code also ready for the
buttons and checkboxes present there. but i dont know how to add code for
this form? mean to say "Find Now" button is there on clicking that button it
fetches the data from public folder and displaying into List box in the same
form.

Could you please tell me just how to add code for this form?


Ads
  #22  
Old October 11th 07, 03:19 PM posted to microsoft.public.outlook.program_vba
masani paresh[_2_]
external usenet poster
 
Posts: 58
Default How to Customize Outlook Calender 2003....

Sue,
so i have to write code in VBScript? i already written in VB. ok then how
would i can write the action event in VBScript for button which is in P.2
location? bcz there is no direct connection between script and tht button so
that i can refer it.

"Sue Mosher [MVP-Outlook]" wrote:

In design mode, click the View Code button on the toolbar. The code language is VBScript. In addition to the Item-level events offered in the Script | Event Handler dialog, you can also write code for the Click event of a command button and some other unbound controls.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"masani paresh" wrote in message ...

See i have made the form to meet my requirements at location Tools - forms
- Design Forms - appointments -- P.2
and rename it to "Find Conference Room". I am having code also ready for the
buttons and checkboxes present there. but i dont know how to add code for
this form? mean to say "Find Now" button is there on clicking that button it
fetches the data from public folder and displaying into List box in the same
form.

Could you please tell me just how to add code for this form?



  #23  
Old October 11th 07, 03:47 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How to Customize Outlook Calender 2003....

Yes, code behind a form is always VBScript. As I indicated in my last response, a command button control has a Click event:

Sub CommandButton1_Click()
' your VBScript code goes here
End Sub

If "already written in VB" means you're building an add-in, then you would need to instantiate the control object WithEvents so you can write code for its Click event. See http://www.outlookcode.com/article.aspx?ID=38 for details on the syntax for accessing Outlook form controls.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"masani paresh" wrote in message ...
Sue,
so i have to write code in VBScript? i already written in VB. ok then how
would i can write the action event in VBScript for button which is in P.2
location? bcz there is no direct connection between script and tht button so
that i can refer it.

"Sue Mosher [MVP-Outlook]" wrote:

In design mode, click the View Code button on the toolbar. The code language is VBScript. In addition to the Item-level events offered in the Script | Event Handler dialog, you can also write code for the Click event of a command button and some other unbound controls.

"masani paresh" wrote in message ...

See i have made the form to meet my requirements at location Tools - forms
- Design Forms - appointments -- P.2
and rename it to "Find Conference Room". I am having code also ready for the
buttons and checkboxes present there. but i dont know how to add code for
this form? mean to say "Find Now" button is there on clicking that button it
fetches the data from public folder and displaying into List box in the same
form.

Could you please tell me just how to add code for this form?



  #24  
Old October 11th 07, 05:05 PM posted to microsoft.public.outlook.program_vba
masani paresh[_2_]
external usenet poster
 
Posts: 58
Default How to Customize Outlook Calender 2003....

Thanks a lot Sue.... you helped me a lot thorugh out a my project.....

"Sue Mosher [MVP-Outlook]" wrote:

In design mode, click the View Code button on the toolbar. The code language is VBScript. In addition to the Item-level events offered in the Script | Event Handler dialog, you can also write code for the Click event of a command button and some other unbound controls.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"masani paresh" wrote in message ...

See i have made the form to meet my requirements at location Tools - forms
- Design Forms - appointments -- P.2
and rename it to "Find Conference Room". I am having code also ready for the
buttons and checkboxes present there. but i dont know how to add code for
this form? mean to say "Find Now" button is there on clicking that button it
fetches the data from public folder and displaying into List box in the same
form.

Could you please tell me just how to add code for this form?



 




Thread Tools
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
Can I Customize Outlook 2003 Map Link? sscharf Outlook - General Queries 2 August 16th 07 02:35 PM
Can I Customize Outlook 2003 Map Link? sscharf Outlook - Using Contacts 2 August 16th 07 01:08 AM
Customize Toolbar Outlook 2003 Jack Clift Outlook - Installation 3 December 5th 06 06:44 AM
Customize context menu for reminders in outlook 2003 none Outlook - Calandaring 1 September 21st 06 05:34 AM
customize address cards in outlook 2003 andy Outlook - Using Contacts 1 February 8th 06 03:50 PM


All times are GMT +1. The time now is 05:59 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
Electricity Suppliers - Internet Advertising - Credit Cards - Problem Mortgage - Personal Loans