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

Recovery of VBA code



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 20th 09, 11:26 AM posted to microsoft.public.office.developer.outlook.vba,microsoft.public.outlook,microsoft.public.outlook.program_vba
F.H. van Zelm
external usenet poster
 
Posts: 14
Default Recovery of VBA code

Hi,

Somehow I lost my VBA code from Outlook (2003). Perhaps by adding a digital
signature ...?
I have no idea what happened.

I restored a backup of an earlier Outlook.pst but that didn't help. No
modules inside.

Can anyone tell me if it is possible to recover VBA code from a backup?
What file, how to restore?

--
Mvg, Frans
www.fhvzelm.com




Ads
  #2  
Old July 20th 09, 01:10 PM posted to microsoft.public.office.developer.outlook.vba,microsoft.public.outlook,microsoft.public.outlook.program_vba
Sue Mosher [MVP][_3_]
external usenet poster
 
Posts: 465
Default Recovery of VBA code

The file you need to restore is VbaProject.otm; see
http://www.slipstick.com/config/backup.asp for Outlook file locations.

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


"F.H. van Zelm" wrote in message
...
Hi,

Somehow I lost my VBA code from Outlook (2003). Perhaps by adding a
digital
signature ...?
I have no idea what happened.

I restored a backup of an earlier Outlook.pst but that didn't help. No
modules inside.

Can anyone tell me if it is possible to recover VBA code from a backup?
What file, how to restore?

--
Mvg, Frans
www.fhvzelm.com






  #3  
Old July 20th 09, 06:32 PM posted to microsoft.public.office.developer.outlook.vba,microsoft.public.outlook,microsoft.public.outlook.program_vba
F.H. van Zelm
external usenet poster
 
Posts: 14
Default Recovery of VBA code

Hi Sue,

Thanks for advice.

It became rather stressful because the restored VbaProject.otm was not
accepted, so to say.

Then, first I copied Outlook.pst and Archive.pst and restored all of
D&S\me\App Data\...\Outlook
and D&S\me\Local Settings\...\Outlook. That worked, I'm só glad. Copied
back the recent
versions of the pst-files.

I still don't know what went wrong: the digital signature or cleaning the
registry to drastically.

So I also have my InsertDate-code back. It used the Redemption add-in to
avoid the warning:
================================================== ========================
Sub InvoegenDatum()
'Macro voegt huidige datum in op cursorpositie in body van geopend item
'Gebruikt: -
'Gebruikt door: - [Datum]
'Nog doen: -
' ActiveInspector.CurrentItem.Body = ActiveInspector.CurrentItem.Body &
vbCr & Date
'Simpele Outlook
VBA-oplossing
Dim myInspector As Object 'Objectvar voor Redemption
COM
Set myInspector = CreateObject("Redemption.SafeInspector")
'Objectvar initialiseren
myInspector.Item = Application.ActiveInspector
myInspector.SelText = Date 'Datum invoegen op
cursorpositie
Set myInspector = Nothing 'Objectvar legen
End Sub

================================================== ========================

Frans van Zelm
www.fhvzelm.com

"Sue Mosher [MVP]" schreef in bericht
...
The file you need to restore is VbaProject.otm; see
http://www.slipstick.com/config/backup.asp for Outlook file locations.

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


"F.H. van Zelm" wrote in message
...
Hi,

Somehow I lost my VBA code from Outlook (2003). Perhaps by adding a
digital
signature ...?
I have no idea what happened.

I restored a backup of an earlier Outlook.pst but that didn't help. No
modules inside.

Can anyone tell me if it is possible to recover VBA code from a backup?
What file, how to restore?

--
Mvg, Frans
www.fhvzelm.com








 




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
Recovery Peter[_5_] Outlook Express 5 April 9th 08 02:31 PM
.pst Recovery C Brandt Outlook - General Queries 1 July 12th 07 08:09 PM
OE Recovery Capt K Ripendran Outlook Express 6 September 13th 06 10:46 AM
OST recovery kcds49 Outlook - General Queries 1 July 27th 06 12:15 AM
e-mail recovery Tim Outlook Express 1 February 28th 06 04:54 PM


All times are GMT +1. The time now is 09:29 PM.


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.