![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
I've published it on the same name but I change some fields on it and my
version number! -- Josianne "Sue Mosher [MVP-Outlook]" wrote: The code you have can be run from any Office program VBA environment. Did you publish the new form under a different name? Or did you just change the version number and use the same message class? -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Josianne" wrote in message ... Ok, I've found the code that will help me to do it but I juste don't know where to put it :\ Sub changeMessageClass() Set olApp = New Outlook.Application Set OlNs = olApp.GetNameSpace("MAPI") Set TasksFolder = olNs.GetDefaultFolder(olFolderTasks) Set TasksItems = TasksFolder.Items For Each Itm in TasksItems If Itm.MessageClass "IPM.Task.MyForm" Then Itm.MessageClass = "IPM.Task.MyForm" Itm.Save End If Next End Sub -- Josianne "Sue Mosher [MVP-Outlook]" wrote: You'll need to run a script or VBA code to change the value of the MessageClass property of the existing items to point to the class of your new published form. "Josianne" wrote in message ... Hi, my problem it's taht I have some old completed froms. they were build with one of my first version of form. Now, I have a new form and I want my old forms with my new form template. But I'm not abble to do it! Thanks, Josianne |
#2
|
|||
|
|||
![]()
Then the code won't do anything at all, because the old and new MessageClass values are the same.
Where is the form published? If you create a new item with the published form, do you see the new version? If you then open an existing item, what version does Help | About This Form show? -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Josianne" wrote in message ... I've published it on the same name but I change some fields on it and my version number! -- Josianne "Sue Mosher [MVP-Outlook]" wrote: The code you have can be run from any Office program VBA environment. Did you publish the new form under a different name? Or did you just change the version number and use the same message class? "Josianne" wrote in message ... Ok, I've found the code that will help me to do it but I juste don't know where to put it :\ Sub changeMessageClass() Set olApp = New Outlook.Application Set OlNs = olApp.GetNameSpace("MAPI") Set TasksFolder = olNs.GetDefaultFolder(olFolderTasks) Set TasksItems = TasksFolder.Items For Each Itm in TasksItems If Itm.MessageClass "IPM.Task.MyForm" Then Itm.MessageClass = "IPM.Task.MyForm" Itm.Save End If Next End Sub -- Josianne "Sue Mosher [MVP-Outlook]" wrote: You'll need to run a script or VBA code to change the value of the MessageClass property of the existing items to point to the class of your new published form. "Josianne" wrote in message ... Hi, my problem it's taht I have some old completed froms. they were build with one of my first version of form. Now, I have a new form and I want my old forms with my new form template. But I'm not abble to do it! Thanks, Josianne |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Version and download | Josianne | Outlook and VBA | 1 | March 22nd 06 04:27 PM |
How to make an old version of Office look like the new version? | beefer | Outlook - Installation | 0 | February 24th 06 10:59 PM |
Which version of outlook? | Peter Brown | Outlook - General Queries | 13 | February 21st 06 01:51 AM |
Should I deleat trail version and install real version ? | Trail Outlook | Outlook - Installation | 0 | January 27th 06 03:47 PM |
Next version | Tim Scott Mathews | Outlook - General Queries | 3 | January 9th 06 08:21 PM |