Recovery of VBA code

Status
Not open for further replies.
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?

Mvg, Frans

www.fhvzelm.com
 
S

Sue Mosher [MVP]

The file you need to restore is VbaProject.otm; see

http://www.slipstick.com/config/backup.asp for Outlook file locations.

Sue Mosher

"F.H. van Zelm" <fhvzelm@hotmail.com> wrote in message

news:OGrUeaSCKHA.4168@TK2MSFTNGP05.phx.gbl...
> 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

>
 
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

"Sue Mosher [MVP]" <suemvp@turtleflock.com> schreef in bericht

news:ebcJDQTCKHA.3724@TK2MSFTNGP05.phx.gbl...
> The file you need to restore is VbaProject.otm; see
> http://www.slipstick.com/config/backup.asp for Outlook file locations.

> > Sue Mosher
> > >

> "F.H. van Zelm" <fhvzelm@hotmail.com> wrote in message
> news:OGrUeaSCKHA.4168@TK2MSFTNGP05.phx.gbl...
> > 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
>

>
>
>>


>
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
B Old attachments do not open after Exchange 2007 edb recovery. Exchange Server Administration 3
G Mount recovery database fails on DAG Exchange Server Administration 3
I Outlook can't connect but OWA works just fine (Recovery Mode Error Message) Exchange Server Administration 2
W RECOVERY SOLUTION FOR OUTLOOK 2007 .PST WHEN IT'S REACHED 2 GB LIMIT Using Outlook 1
B Recovering Mailbox data - no mailboxes listed to restore in recovery mail store Exchange Server Administration 6
R Single Mailbox Recovery with Windows Server Backup Exchange Server Administration 4
G Recovery of deleted Outlook 2007 files when not configured with Exchange server Using Outlook 1
B Need help with contact recovery, since trial of Office 2010 has ended. Using Outlook 2
N Exchnage 2010 Hub Cas Edge Server Recovery Exchange Server Administration 3
P Retention Policy Tags (Delete and Allow Recovery) Inbox and Sent Items Exchange Server Administration 2
A Size of recovery database Lun Exchange Server Administration 4
U Exchange 2010 Recovery Database: WMI Problem? Exchange Server Administration 3
J Need to recover lost outlook email files after manufacturers 'system recovery' Using Outlook 5
J Change IP address of Exchange 2010 - Disaster Recovery Exchange Server Administration 4
A pst recovery Outlook VBA and Custom Forms 1
S Exchange Recovery storage Group Exchange Server Administration 8
V Modifying the built in forms with VBA Outlook VBA and Custom Forms 4
S Excel VBA and shared calendar issue Outlook VBA and Custom Forms 4
L Macro/VBA to Reply All, with the original attachments Outlook VBA and Custom Forms 2
L VBA unknown character Outlook VBA and Custom Forms 2
G Move tasks up/down todo list by VBA Outlook VBA and Custom Forms 1
diver864 vba for a rule to automatically accept meeting requests with 'vacation' in subject, change to all-day event, change to free, don't send reply Outlook VBA and Custom Forms 1
K Use VBA to find Sender and Recipient from Microsfot 365 Journaled Email Items Outlook VBA and Custom Forms 3
J Want to learn VBA Macros for Outlook. What book can you recommend? Outlook VBA and Custom Forms 2
F VBA code to dock Styles whenever I write or edit an email Outlook VBA and Custom Forms 0
C VBA to prompt for Sent folder destination Outlook VBA and Custom Forms 3
B Adding signature to bottom of VBA reply email Outlook VBA and Custom Forms 1
B Change Font and Font size using VBA Outlook VBA and Custom Forms 9
M Outlook 2013 reminder email by using Outlook vba Outlook VBA and Custom Forms 2
D.Moore VBA script fail after Office 365 update Using Outlook 8
R Limiting length of saved attachment in VBA Outlook VBA and Custom Forms 2
S Skype for business meeting vba code Outlook VBA and Custom Forms 1
C How to use VBA to show only items x days old or more Outlook VBA and Custom Forms 1
B VBA to convert email to task, insert text of email in task notes, and attach copy of original email Outlook VBA and Custom Forms 4
D Outlook VBA error extracting property data from GetRules collection Outlook VBA and Custom Forms 10
S Reference Custom Fields with VBA Outlook VBA and Custom Forms 2
PGSystemTester VBA To Change AppointmentItem.BusyStatus From MeetingItem Before Send Using Outlook 0
A VBA macro for 15 second loop in send and received just for 1 specific mailbox Outlook VBA and Custom Forms 1
O Email not leaving Outbox when using Excel VBA to sync Outlook account Outlook VBA and Custom Forms 4
G VBA Macro Calendar Printing Assistant 4
R Help Revising VBA macro to delete email over different time span Outlook VBA and Custom Forms 0
B VBA to Collapse Task Folder Groups Outlook VBA and Custom Forms 1
R Expand VBA Permanent Delete Code Outlook VBA and Custom Forms 6
shrydvd vba to secure zip attachments Outlook VBA and Custom Forms 3
M Adding Subject to this Link-Saving VBA Outlook VBA and Custom Forms 5
N VBA to delete duplicates by message-id on common pst for 2 or more emails Outlook VBA and Custom Forms 0
S Change VBA script to send HTML email instead of text Outlook VBA and Custom Forms 3
M VBA to auto forward message with new subject and body text Outlook VBA and Custom Forms 8
A Custom VBA to sort emails into folders Outlook VBA and Custom Forms 0
L Moving emails with similar subject and find the timings between the emails using outlook VBA macro Outlook VBA and Custom Forms 1

Similar threads

Top