From field in outlook 2007

Status
Not open for further replies.

JohnP

New Member
Outlook version
Email Account
Exchange Server 2010
We have a user who will be using multiple stationaries (.oft), she would like to know if the FROM field can be hardcoded with the mailbox name. She is using outlook 2007 client
 
As long as the From name is an actual account and not a shared mailbox address, you can save the template with the account selected and it should work (it did years ago). If that doesn't work, you can set the account and open the template using a macro.
 
Larry, she has 10 shared mailboxes to manage and she doesn't want to add the name of every mailbox when shes using the templates
 
Unfortunately, it's not possible to pull in the mailbox name when you use a template (it works when you use the standard message form and have multiple accounts) - they use the default account unless they are published to the folder. She'll need to use a macro to set the address or set it herself.
 
We created 10 folders with all the templates by shared mailbox. Is there a way to open the folder instead of the templates. This macro only works if I specify only one template.

Sub MakeItem()
Set newItem = Application.CreateItemFromTemplate("C:\DATA\TEMP\LALA.OFT")
newItem.Display
Set newItem = Nothing
End Sub
 
Yeah, you'd need a bunch of macros... you can open a folder using the code - after setting the variable for the folder, use

Sub Whatever()
Dim Ns As Outlook.NameSpace
dim oFolder as outlook.folder
Set Ns = Application.GetNamespace("MAPI")
'use the default folder
Set oFolder= Ns.GetDefaultFolder(olFolderCalendar)
oFolder.display
End Sub

http://www.slipstick.com/developer/working-vba-nondefault-outlook-folders/
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
J Can Click to Drag Custom Form Field But Cannot Drop When Designing in Outlook 2007 Outlook VBA and Custom Forms 2
L Outlook 2007 Macro to Contact From a Field Using Outlook 3
L Outlook 2007 Copy Email Address in To Field Using Outlook 11
L Outlook 2007 Copy Text Field Using Outlook 8
L Outlook 2007 Macro to Add Text to a Contact Field Using Outlook 10
L Outlook 2007 Macro to Email Field Using Outlook 31
O Outlook 2007: Phone List View - Field Names Outlook VBA and Custom Forms 1
O Outlook 2007: change field names Outlook VBA and Custom Forms 3
B Outlook 2007 form into access field format Outlook VBA and Custom Forms 9
S Make field searchable in custom form in outlook 2007 Outlook VBA and Custom Forms 1
P Can't add custom field to custom Outlook form, it always adds to the Folder instead Outlook VBA and Custom Forms 2
D Outlook VBA forward the selected email to the original sender’s email ID (including the email used in TO, CC Field) from the email chain Outlook VBA and Custom Forms 2
D Outlook 365 Custom forms field limit? Outlook VBA and Custom Forms 4
I Outlook 2003 shows html code when To: field is empty Using Outlook 7
Terry Sullivan Sender's Name Doesn't Appear in the From Field on Outlook 365/IMAP Using Outlook 2
D Outlook Contacts Notes Field Photos to Smartphone Using Outlook 0
C Copy Outlook contact field value to another field Outlook VBA and Custom Forms 1
V Making a Date field mandatory in outlook form Outlook VBA and Custom Forms 2
B Outlook Business Contact Manager with SQL to Excel, User Defined Fields in BCM don't sync in SQL. Can I use VBA code to copy 1 field to another? BCM (Business Contact Manager) 0
C Import Outlook 2016 contacts into to: field Using Outlook 1
T Source of Outlook 2016 Address field dropdown "Other Suggestions" Using Outlook 3
Caio "From" field doesn't show extra email addresses in Outlook 2016. Using Outlook.com accounts in Outlook 6
George Simpson "Switch to HTML" in Outlook 2016 notes field Using Outlook 1
S Outlook User defined date field (UDF) not syncing Using Outlook 2
Diane Poremsky Create a custom field for Outlook messages Using Outlook 0
Diane Poremsky Create a Custom Numbering Field for Outlook messages Using Outlook 0
T Uploading Outlook 2016 Contacts to Exchange Server Drops "Company" field data in 30% of records Exchange Server Administration 4
Diane Poremsky Display the Created Date field of any Outlook item Using Outlook 0
K Passing a form field as a parameter from Outlook Using Outlook 12
M Update field codes when opening Outlook Template Outlook VBA and Custom Forms 2
J Outlook 2003-2010 PST Field Editor Using Outlook 1
Tech Checkers Make Outlook add Contact Card Address in Location Field based on Appointment Subject Name. Using Outlook 2
M moving custom field data between outlook and excel? Using Outlook 4
M Any way to edit the message field on a 2010 Outlook Form? Using Outlook 3
F Outlook 2010 - Need help with a custom field. Using Outlook 3
L Outlook Contact Field Delete Using Outlook 7
O Outlook 2013 contacts - Where to find "Display as"-field Using Outlook 2
J outlook auto-completing the 'To field' with an unknown email address Using Outlook 1
J Outlook 2010 Forms Help Needed "A field in this form requires a value." Using Outlook 6
H How can you add a URL field in a Outlook Custom Contact form? Using Outlook 6
M OUTLOOK New Mail Field Availability Outlook VBA and Custom Forms 3
K Can't use links in Outlook custom form text field Outlook VBA and Custom Forms 1
K Outlook From Field Macro Outlook VBA and Custom Forms 4
H Copying email address(es) in body of email and pasting in To field Outlook VBA and Custom Forms 1
Witzker Set Cursor & Focus from any field to the body of a user Contact form in OL 2019 Outlook VBA and Custom Forms 1
S Combination Field (Date Format) Outlook VBA and Custom Forms 0
Witzker Add a text line at the end of the note field in all selected Contacts Outlook VBA and Custom Forms 7
M copy field value to custom field Outlook VBA and Custom Forms 0
J images on note field display fraction of size Using Outlook 5
C Automatically Insert Recipient Name from To Field Outlook VBA and Custom Forms 4

Similar threads

Back
Top