Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Should I create an addin? 1

Status
Not open for further replies.

thomasks

Programmer
May 12, 2006
113
US
I have an outlook macro written that creates tasks from emails, that is used by several of my coworkers in the office. Recently one of the geniuses in IT "ghosted" a coworkers machine and reinstalled Microsoft Office.
He lost all the code for the macros that was there. I had to cut and paste the code back in from an email for him, to fix it.
My question is, should I create an add in for this code? And how do I do that if it was written in VBA?
 
You could have copied the *.OTM file from yours to his profile. This is the outlook project file where all the VBA code is held.

Everybody is somebodys Nutter.
 
One caveat with distributing the VbaProject.otm file is the potential to delete/disable an end user's own custom code. If the .otm file already exists, you're back to copying & pasting the new code.


Regards,
Mike
 
Good catch Mike I forgat to mention that, have a star.

Everybody is somebodys Nutter.
 
Thanks, Chris.

Having mentioned that possibility, I will say that I have used just that technique. I was reasonably certain it wasn't an issue (new pc's recently deployed) and my install program checked for existing *.otm file and renamed if found. Not ideal but sufficient in this case.


Regards,
Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top