VBScript Commands

Status
Not open for further replies.

Roland Askew

Member
Outlook version
Outlook 2021 64 bit
Email Account
IMAP
Hopefully someone can point me in the right direction I have a custom form with a command button and I want to program the click function to search the task folder and find other related tasks. I looked all over for any information on this and if anyone can confirm what the VBScript command would be or if it is not possible that would be great. I am looking for similar to the either the VBA commands find, search or restrict.

Thanks

Roland
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
Does it need to be in a custom form? If you can either use a button in the format to call a macro or use a macro directly, this macro should point you in the right direction:
Search for All Messages from Contact and Display in New Window

Rather than using contacts, you'd use a task field and search task folders.
 

Roland Askew

Member
Outlook version
Outlook 2021 64 bit
Email Account
IMAP
Thanks Diane for your help. I will look at doing it the way suggested.
Regards
Roland
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
A VBscript stops running after updating form Outlook VBA and Custom Forms 1
B VBScript doesn't run on Recipient Email Outlook VBA and Custom Forms 2
M VbScript for Command Button on Contacts Custom Form Using Outlook 1
M Forward Appointment as BCC with VBScript Outlook VBA and Custom Forms 7
D Security patch seems to kill vbscript on Enterprise Level Outlook VBA and Custom Forms 4
Mark White VBScript Move sent mail to non-default folder Outlook VBA and Custom Forms 5
Mark White VBScript Move sent mail to non-default folder Outlook VBA and Custom Forms 0
S my vbscript button1_click code works on appointment created but not on opening an existing apntmn Outlook VBA and Custom Forms 16
JorgeDario Template oft that contains VBScript Is not running Using Outlook 1
J Outlook 2010 VBScript editor does not run code at all Outlook VBA and Custom Forms 0
T Create new item in public folder using VBscript Outlook VBA and Custom Forms 1
R VBScript Sendmail not selecting correct 'from' address Outlook VBA and Custom Forms 3
B Recommended Outlook & VBScript Books? Outlook VBA and Custom Forms 3
Mary B VBscript: Need to copy every email to a folder & mark that copy as read Outlook VBA and Custom Forms 5
K VBScript Outlook, add attachment Outlook VBA and Custom Forms 1
S VBA Macro to VBScript Outlook VBA and Custom Forms 1
E VBScript to replace module? Using Outlook 3
F VBScript to add pre defined text Using Outlook 5
D Custom form and VBScript Using Outlook 5
F VBScript copy contacts and remove duplicates Using Outlook 1
R VBA Macro to VBScript in a form- Help Please! Using Outlook 10
H Accessing a control on a frame in Outlook with VBScript Outlook VBA and Custom Forms 1
Y Creating a Task with VBScript Outlook VBA and Custom Forms 14
N VBScript does not run in Outlook 2003 Outlook VBA and Custom Forms 4
Diane Poremsky Add High and Low Importance Commands Using Outlook 0
B Choose commands from Macros is empty Outlook VBA and Custom Forms 3
A Exchange 2003 how to stop accepting EHLO and AUTH commands Exchange Server Administration 2
D Custom Tool Bar and/or Commands do not remain when re-opening Outlook 2007 Using Outlook 3
D Redo or Repeat Commands Using Outlook 3

Similar threads

Top