Recovery of VBA code

F

F.H. van Zelm

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?
 
F

F.H. van Zelm

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top