![]() |
| 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. |
|
|||||||
| Tags: documents, information, link, possible, word |
|
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Here's a brain tickler:
I've developed a custom form in Outlook for our company... which basically has the same information as a document we use in the company... (Which, coincidentally, is repeated elsewhere in a couple of other places) Question is, would it be possible to auto-fill that information either way: I.E. Fill in the form in Outlook and let Word know how to automatically fill in the right information from the fields OR Fill in the form in Word and let the Outlook form know how to automatically fill in the right information in the fields? I know how to do this between Excel documents quick and easy. Question is, does that ease cross applications? |
| Ads |
|
#2
|
|||
|
|||
|
Basically, yes you can do all that. Both Word and Outlook support VBA, which
allows you to program against any Office application. Custom fields in custom forms expose their names/properties via the UserProperties Collection, so that's what you'd use to read/set those values. However, your question is fairly general in scope. It really depends on which application is providing the data to whom. If you can provide some specifics, we can help guide you through any programming tasks. -- Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Angyl" wrote: Here's a brain tickler: I've developed a custom form in Outlook for our company... which basically has the same information as a document we use in the company... (Which, coincidentally, is repeated elsewhere in a couple of other places) Question is, would it be possible to auto-fill that information either way: I.E. Fill in the form in Outlook and let Word know how to automatically fill in the right information from the fields OR Fill in the form in Word and let the Outlook form know how to automatically fill in the right information in the fields? I know how to do this between Excel documents quick and easy. Question is, does that ease cross applications? |
|
#3
|
|||
|
|||
|
Well we have a form in Word that has all basic information in it on potential
clients such as Company name, address, phone # owners' names, etc. And I created a shared custom form in Outlook for our office to use that pretty much does the same thing using the contacts template. I'm not sure if it would be easier to input the data into the Outlook form and have a Word document get the data or the other way around But we are essentially duplicating our work 2 or 3 times with every potential client we come across. "Eric Legault [MVP - Outlook]" wrote: Basically, yes you can do all that. Both Word and Outlook support VBA, which allows you to program against any Office application. Custom fields in custom forms expose their names/properties via the UserProperties Collection, so that's what you'd use to read/set those values. However, your question is fairly general in scope. It really depends on which application is providing the data to whom. If you can provide some specifics, we can help guide you through any programming tasks. -- Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Angyl" wrote: Here's a brain tickler: I've developed a custom form in Outlook for our company... which basically has the same information as a document we use in the company... (Which, coincidentally, is repeated elsewhere in a couple of other places) Question is, would it be possible to auto-fill that information either way: I.E. Fill in the form in Outlook and let Word know how to automatically fill in the right information from the fields OR Fill in the form in Word and let the Outlook form know how to automatically fill in the right information in the fields? I know how to do this between Excel documents quick and easy. Question is, does that ease cross applications? |
|
#4
|
|||
|
|||
|
I would say it's easier to populate Word from your custom form. First, I'd
setup a Word document (or template) that uses named Bookmarks. These Bookmarks should have the same name as your custom fields. Then you can use the Bookmarks collection in Word with the UserProperties collection from your custom form to match and populate. -- Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Angyl" wrote: Well we have a form in Word that has all basic information in it on potential clients such as Company name, address, phone # owners' names, etc. And I created a shared custom form in Outlook for our office to use that pretty much does the same thing using the contacts template. I'm not sure if it would be easier to input the data into the Outlook form and have a Word document get the data or the other way around But we are essentially duplicating our work 2 or 3 times with every potential client we come across. "Eric Legault [MVP - Outlook]" wrote: Basically, yes you can do all that. Both Word and Outlook support VBA, which allows you to program against any Office application. Custom fields in custom forms expose their names/properties via the UserProperties Collection, so that's what you'd use to read/set those values. However, your question is fairly general in scope. It really depends on which application is providing the data to whom. If you can provide some specifics, we can help guide you through any programming tasks. -- Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Angyl" wrote: Here's a brain tickler: I've developed a custom form in Outlook for our company... which basically has the same information as a document we use in the company... (Which, coincidentally, is repeated elsewhere in a couple of other places) Question is, would it be possible to auto-fill that information either way: I.E. Fill in the form in Outlook and let Word know how to automatically fill in the right information from the fields OR Fill in the form in Word and let the Outlook form know how to automatically fill in the right information in the fields? I know how to do this between Excel documents quick and easy. Question is, does that ease cross applications? |
|
#5
|
|||
|
|||
|
Thanks Eric. One more question, please.
The Word & bookmarks part I understand. What I can't figure out, however is WHERE my custom form is saved to link the information to, and I was wondering if you could help me locate it. In my company, we SHARE a drive on the network (S , it is the only place where information can be accessed by anyone. Outlook, however is installed on the server. Does this mean that all the published, custom forms we have are on the server as well? I have no direct access to that. Is that the only way to "browse" to link the information in the word document to the custom form? "Eric Legault [MVP - Outlook]" wrote: I would say it's easier to populate Word from your custom form. First, I'd setup a Word document (or template) that uses named Bookmarks. These Bookmarks should have the same name as your custom fields. Then you can use the Bookmarks collection in Word with the UserProperties collection from your custom form to match and populate. -- Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Angyl" wrote: Well we have a form in Word that has all basic information in it on potential clients such as Company name, address, phone # owners' names, etc. And I created a shared custom form in Outlook for our office to use that pretty much does the same thing using the contacts template. I'm not sure if it would be easier to input the data into the Outlook form and have a Word document get the data or the other way around But we are essentially duplicating our work 2 or 3 times with every potential client we come across. "Eric Legault [MVP - Outlook]" wrote: Basically, yes you can do all that. Both Word and Outlook support VBA, which allows you to program against any Office application. Custom fields in custom forms expose their names/properties via the UserProperties Collection, so that's what you'd use to read/set those values. However, your question is fairly general in scope. It really depends on which application is providing the data to whom. If you can provide some specifics, we can help guide you through any programming tasks. -- Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Angyl" wrote: Here's a brain tickler: I've developed a custom form in Outlook for our company... which basically has the same information as a document we use in the company... (Which, coincidentally, is repeated elsewhere in a couple of other places) Question is, would it be possible to auto-fill that information either way: I.E. Fill in the form in Outlook and let Word know how to automatically fill in the right information from the fields OR Fill in the form in Word and let the Outlook form know how to automatically fill in the right information in the fields? I know how to do this between Excel documents quick and easy. Question is, does that ease cross applications? |
|
#6
|
|||
|
|||
|
Better yet, Eric, if that is an issue (I don't know where the Outlook form is
and can't get to it), and it is possible to go the other way (have the form populate from a Word document), that might be the easiest way to go. How do I go about telling Outlook where to get data in a custom form? If you could give me a very simple example I could probably figure out the rest. Say I make a form in Outlook with a field "ClientName" and have a Word document with a field "ClientName" in it. What do I have to do with the field in Outlook to tell it to get the data from the Word Document? "Angyl" wrote: Thanks Eric. One more question, please. The Word & bookmarks part I understand. What I can't figure out, however is WHERE my custom form is saved to link the information to, and I was wondering if you could help me locate it. In my company, we SHARE a drive on the network (S , it is the only place where information can be accessed by anyone. Outlook, however is installed on the server. Does this mean that all the published, custom forms we have are on the server as well? I have no direct access to that. Is that the only way to "browse" to link the information in the word document to the custom form? "Eric Legault [MVP - Outlook]" wrote: I would say it's easier to populate Word from your custom form. First, I'd setup a Word document (or template) that uses named Bookmarks. These Bookmarks should have the same name as your custom fields. Then you can use the Bookmarks collection in Word with the UserProperties collection from your custom form to match and populate. -- Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Angyl" wrote: Well we have a form in Word that has all basic information in it on potential clients such as Company name, address, phone # owners' names, etc. And I created a shared custom form in Outlook for our office to use that pretty much does the same thing using the contacts template. I'm not sure if it would be easier to input the data into the Outlook form and have a Word document get the data or the other way around But we are essentially duplicating our work 2 or 3 times with every potential client we come across. "Eric Legault [MVP - Outlook]" wrote: Basically, yes you can do all that. Both Word and Outlook support VBA, which allows you to program against any Office application. Custom fields in custom forms expose their names/properties via the UserProperties Collection, so that's what you'd use to read/set those values. However, your question is fairly general in scope. It really depends on which application is providing the data to whom. If you can provide some specifics, we can help guide you through any programming tasks. -- Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Angyl" wrote: Here's a brain tickler: I've developed a custom form in Outlook for our company... which basically has the same information as a document we use in the company... (Which, coincidentally, is repeated elsewhere in a couple of other places) Question is, would it be possible to auto-fill that information either way: I.E. Fill in the form in Outlook and let Word know how to automatically fill in the right information from the fields OR Fill in the form in Word and let the Outlook form know how to automatically fill in the right information in the fields? I know how to do this between Excel documents quick and easy. Question is, does that ease cross applications? |
|
#7
|
|||
|
|||
|
Where you publish the form depends mainly on who needs to access it, and
partially on what kind of form it is. See this link: Saving and Publishing Microsoft Outlook Custom Forms: http://www.outlookcode.com/d/formpub.htm For custom message forms, they are generally published to the Personal or Organization forms libraries, whereas others are published to a folder (probably a shared Public Folder in your case if you are using Exchange). -- Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Angyl" wrote: Thanks Eric. One more question, please. The Word & bookmarks part I understand. What I can't figure out, however is WHERE my custom form is saved to link the information to, and I was wondering if you could help me locate it. In my company, we SHARE a drive on the network (S , it is the only place where information can be accessed by anyone. Outlook, however is installed on the server. Does this mean that all the published, custom forms we have are on the server as well? I have no direct access to that. Is that the only way to "browse" to link the information in the word document to the custom form? "Eric Legault [MVP - Outlook]" wrote: I would say it's easier to populate Word from your custom form. First, I'd setup a Word document (or template) that uses named Bookmarks. These Bookmarks should have the same name as your custom fields. Then you can use the Bookmarks collection in Word with the UserProperties collection from your custom form to match and populate. -- Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Angyl" wrote: Well we have a form in Word that has all basic information in it on potential clients such as Company name, address, phone # owners' names, etc. And I created a shared custom form in Outlook for our office to use that pretty much does the same thing using the contacts template. I'm not sure if it would be easier to input the data into the Outlook form and have a Word document get the data or the other way around But we are essentially duplicating our work 2 or 3 times with every potential client we come across. "Eric Legault [MVP - Outlook]" wrote: Basically, yes you can do all that. Both Word and Outlook support VBA, which allows you to program against any Office application. Custom fields in custom forms expose their names/properties via the UserProperties Collection, so that's what you'd use to read/set those values. However, your question is fairly general in scope. It really depends on which application is providing the data to whom. If you can provide some specifics, we can help guide you through any programming tasks. -- Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Angyl" wrote: Here's a brain tickler: I've developed a custom form in Outlook for our company... which basically has the same information as a document we use in the company... (Which, coincidentally, is repeated elsewhere in a couple of other places) Question is, would it be possible to auto-fill that information either way: I.E. Fill in the form in Outlook and let Word know how to automatically fill in the right information from the fields OR Fill in the form in Word and let the Outlook form know how to automatically fill in the right information in the fields? I know how to do this between Excel documents quick and easy. Question is, does that ease cross applications? |
|
#8
|
|||
|
|||
|
I'm still a little hazy over your business requirements, and to why you need
to use both a Word document and a custom Outlook form that seems to duplicate each other's functionality. Word can read from Outlook using the Outlook Object Model in Word VBA, and Outlook custom forms can read Word documents using the Word Object Model in custom VBScript inside the form itself. Automating Outlook from other Microsoft Office applications: http://msdn.microsoft.com/library/en...asp?frame=true The concept is similar from an Outlook custom form that works with Word, except you'd be using VBScript instead of VBA. -- Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Angyl" wrote: Better yet, Eric, if that is an issue (I don't know where the Outlook form is and can't get to it), and it is possible to go the other way (have the form populate from a Word document), that might be the easiest way to go. How do I go about telling Outlook where to get data in a custom form? If you could give me a very simple example I could probably figure out the rest. Say I make a form in Outlook with a field "ClientName" and have a Word document with a field "ClientName" in it. What do I have to do with the field in Outlook to tell it to get the data from the Word Document? "Angyl" wrote: Thanks Eric. One more question, please. The Word & bookmarks part I understand. What I can't figure out, however is WHERE my custom form is saved to link the information to, and I was wondering if you could help me locate it. In my company, we SHARE a drive on the network (S , it is the only place where information can be accessed by anyone. Outlook, however is installed on the server. Does this mean that all the published, custom forms we have are on the server as well? I have no direct access to that. Is that the only way to "browse" to link the information in the word document to the custom form? "Eric Legault [MVP - Outlook]" wrote: I would say it's easier to populate Word from your custom form. First, I'd setup a Word document (or template) that uses named Bookmarks. These Bookmarks should have the same name as your custom fields. Then you can use the Bookmarks collection in Word with the UserProperties collection from your custom form to match and populate. -- Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Angyl" wrote: Well we have a form in Word that has all basic information in it on potential clients such as Company name, address, phone # owners' names, etc. And I created a shared custom form in Outlook for our office to use that pretty much does the same thing using the contacts template. I'm not sure if it would be easier to input the data into the Outlook form and have a Word document get the data or the other way around But we are essentially duplicating our work 2 or 3 times with every potential client we come across. "Eric Legault [MVP - Outlook]" wrote: Basically, yes you can do all that. Both Word and Outlook support VBA, which allows you to program against any Office application. Custom fields in custom forms expose their names/properties via the UserProperties Collection, so that's what you'd use to read/set those values. However, your question is fairly general in scope. It really depends on which application is providing the data to whom. If you can provide some specifics, we can help guide you through any programming tasks. -- Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Angyl" wrote: Here's a brain tickler: I've developed a custom form in Outlook for our company... which basically has the same information as a document we use in the company... (Which, coincidentally, is repeated elsewhere in a couple of other places) Question is, would it be possible to auto-fill that information either way: I.E. Fill in the form in Outlook and let Word know how to automatically fill in the right information from the fields OR Fill in the form in Word and let the Outlook form know how to automatically fill in the right information in the fields? I know how to do this between Excel documents quick and easy. Question is, does that ease cross applications? |
|
#9
|
|||
|
|||
|
"Eric Legault [MVP - Outlook]" wrote: I'm still a little hazy over your business requirements, and to why you need to use both a Word document and a custom Outlook form that seems to duplicate each other's functionality. You're right, it is duplication and fairly stupid but it is unavoidable for now. Here's what we do: A sales rep comes in with a filled in (by hand) Request for Quote (RFQ) for our company's services and gives it to me. This represents a potential client. I must first input the information from that RFQ into the electronic format we have (word document) so we have a "pretty" typed-up version. Name, address, phone number, contact name, socials, all sorts of stuff. Then I must fill out another form that asks for basically all the same information given to us to apply for a quote for Workers' Compensation for that company. This is a custom form (Word document) given to us by the insurance company that is locked, it can not be edited or changed by me, unfortunately. THEN I must fill out our "CRM" which is a custom Outlook form created by me as a means to share among sales persons, the director, president of the company, whatever, at a glance what the sales department is up to. It contains, you guesed it, all of the same general information on the original RFQ I was given. Now...there's nothing I can do about the insurance form (Word document) since it is locked. But for the electronic version of our RFQ...and for the CRM (custom Outlook form based on the standard contact form), I would like to save myself a little hassle in duplicating THAT at least. So, optimally now, what I would like to be able to do is get a handwritten RFQ from a sales rep, and go straight to the electronic version of that form we have, enter the data there...and then open a new "contact" in our custom CRM form in Outlook... And tell it to grab all the information needed from the RFQ I just typed in... and be done. So what I'm missing is how to tell Outlook for a text field, for example, named "ClientName," how to get that information from a Word document I have saved on the server with a bookmarked field named "ClientName." Once I knew how to do that, I'm pretty certain I could figure out the rest of the fields as well Thanks for your help, Eric. |
|
#10
|
|||
|
|||
|
Okay, so this is how I see this working:
- create instance of your custom form - add a button on the form (or toolbar button, but more complicated) that has VBScript in the ButtonName_Click event with code similar to this: Set wrd = CreateObject("Word.Application") wrd.Documents.Open FileName:="C:\MyFolder\Sample.doc" You can then work with the ActiveDocument object to get at the Bookmarks collection. You MUST create these bookmarks using the same name as the corresponding Outlook field name in your custom form so that you know what to look for when you navigate through the Bookmarks collection. You can get some basic information on programming with Word he Frequently Asked Visual Basic Questions [Word 2003 VBA Language Reference] -- Word: http://msdn.microsoft.com/library/en...asp?frame=true Aside from that, you insert the values from a Bookmark object by retrieving a UserProperty object from the Item.UserProperties collection. That's really all there is to it, but I'm afraid if you are very new to Visual Basic than all this may still be a lot of work for you. If you're still having problems, I can try to find some time to write more in depth code for you but it may take me a while. -- Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Angyl" wrote: "Eric Legault [MVP - Outlook]" wrote: I'm still a little hazy over your business requirements, and to why you need to use both a Word document and a custom Outlook form that seems to duplicate each other's functionality. You're right, it is duplication and fairly stupid but it is unavoidable for now. Here's what we do: A sales rep comes in with a filled in (by hand) Request for Quote (RFQ) for our company's services and gives it to me. This represents a potential client. I must first input the information from that RFQ into the electronic format we have (word document) so we have a "pretty" typed-up version. Name, address, phone number, contact name, socials, all sorts of stuff. Then I must fill out another form that asks for basically all the same information given to us to apply for a quote for Workers' Compensation for that company. This is a custom form (Word document) given to us by the insurance company that is locked, it can not be edited or changed by me, unfortunately. THEN I must fill out our "CRM" which is a custom Outlook form created by me as a means to share among sales persons, the director, president of the company, whatever, at a glance what the sales department is up to. It contains, you guesed it, all of the same general information on the original RFQ I was given. Now...there's nothing I can do about the insurance form (Word document) since it is locked. But for the electronic version of our RFQ...and for the CRM (custom Outlook form based on the standard contact form), I would like to save myself a little hassle in duplicating THAT at least. So, optimally now, what I would like to be able to do is get a handwritten RFQ from a sales rep, and go straight to the electronic version of that form we have, enter the data there...and then open a new "contact" in our custom CRM form in Outlook... And tell it to grab all the information needed from the RFQ I just typed in... and be done. So what I'm missing is how to tell Outlook for a text field, for example, named "ClientName," how to get that information from a Word document I have saved on the server with a bookmarked field named "ClientName." Once I knew how to do that, I'm pretty certain I could figure out the rest of the fields as well Thanks for your help, Eric. |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| can you add addresses in word documents automatically to outlo | Sue Manning-Jones | Outlook - Using Contacts | 5 | March 9th 06 10:19 PM |
| Problem opening photo attachments & word documents | donna | Outlook Express | 8 | February 17th 06 03:40 AM |
| save in differents folder each documents in WORD | aberdich@gmail.com | Outlook - General Queries | 3 | February 16th 06 11:43 PM |
| Viewing all documents in Outlook | BD | Outlook - General Queries | 1 | January 27th 06 04:50 PM |
| insert pics in documents | Dave | Outlook - Using Contacts | 2 | January 15th 06 03:40 PM |