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 - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to merge data from two outlook forms?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 8th 07, 07:14 PM posted to microsoft.public.outlook.program_forms
Luki
external usenet poster
 
Posts: 2
Default How to merge data from two outlook forms?

Hi,
I have two different custom forms in Outlook contacts. I need to fill out automaticly data from these two types of forms into document template (word/excel/body of email/doesn't metter).
If I had to fill my template with data from only one form, there was no problem, I used merge mail. But I have no idea how to do this with data from two forms. :?

Please, does somebody have idea, how can I do this? Is it possible with macro/VBScript or not?
Thanks in advance,
Jana
--
Have a nice day
Ads
  #2  
Old November 8th 07, 09:57 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How to merge data from two outlook forms?

It's not clear just what you're trying to do. Forms are UI/code templates. They contain no data themselves.

Are you saying that you want to use the data from two different items to fill a template-based document? What relationship do those two items have?

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


"Luki" wrote in message ...
Hi,
I have two different custom forms in Outlook contacts. I need to fill out automaticly data from these two types of forms into document template (word/excel/body of email/doesn't metter).
If I had to fill my template with data from only one form, there was no problem, I used merge mail. But I have no idea how to do this with data from two forms. :?

Please, does somebody have idea, how can I do this? Is it possible with macro/VBScript or not?
Thanks in advance,
Jana
--
Have a nice day

  #3  
Old November 8th 07, 11:26 PM posted to microsoft.public.outlook.program_forms
Hollis Paul
external usenet poster
 
Posts: 242
Default How to merge data from two outlook forms?

In article , Luki wrote:
If I had to fill my template with data from only one form, there was no problem, I used merge mail. But I have no idea how to do this with data from two forms. :?

If we are talking about just two source forms, then you can manually past each form's data into
Excel and then use Excel as the mail merge source.

--
Hollis Paul
Mukilteo, WA USA


  #4  
Old November 9th 07, 10:02 AM posted to microsoft.public.outlook.program_forms
Luki
external usenet poster
 
Posts: 2
Default How to merge data from two outlook forms?

Hi Sue,
I am sorry..

Are you saying that you want to use the data from two different items to fill a template-based document? ..yes

My example:
I have all data in two types(two different items)of contacts ..Schools and Pupils. ..so I have there two different custom forms. Relation: in Pupil contact is the name of his school(s). I need to use data from Pupil and School Items to fill into one document template (the best would be automatically).
E.g. in Word's document template using mail merge u can define the fields, which are replaced by/filled with data from the contact (e.g. pupil) automatically. And I would like to fill there data from pupils and schools(two different Outlook contacts forms).

I think, that I'll have to write code in VBS, or not? Thanks a lot for some better or easier solution..
--
Have a nice day
  #5  
Old November 9th 07, 01:09 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How to merge data from two outlook forms?

Yes, you will need to write code to do this. If you want the code to run as part of an Outlook form, it will be VBSCript.

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


"Luki" wrote in message ...
Hi Sue,
I am sorry..

Are you saying that you want to use the data from two different items to fill a template-based document? ..yes

My example:
I have all data in two types(two different items)of contacts ..Schools and Pupils. ..so I have there two different custom forms. Relation: in Pupil contact is the name of his school(s). I need to use data from Pupil and School Items to fill into one document template (the best would be automatically).
E.g. in Word's document template using mail merge u can define the fields, which are replaced by/filled with data from the contact (e.g. pupil) automatically. And I would like to fill there data from pupils and schools(two different Outlook contacts forms).

I think, that I'll have to write code in VBS, or not? Thanks a lot for some better or easier solution..
--
Have a nice day

 




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 I merge AutoArchived calendar data w/non-AutoArchive data? K.[_2_] Outlook - Calandaring 1 September 7th 07 06:18 AM
How to merge contact data into letterhead template in outlook? DManson Outlook - Using Contacts 9 July 17th 07 10:49 AM
outlook forms data JP Outlook - Using Forms 4 May 15th 07 03:45 PM
How to merge Outlook profiles without losing data? Alan Outlook - General Queries 1 February 7th 07 03:18 PM
How do I mail merge personal outlook forms fields to Word Pete Outlook - Using Forms 1 December 6th 06 03:15 AM


All times are GMT +1. The time now is 11:37 AM.


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.