S
Sizer
Hello all,
Our office uses two Outlook macros when we are editing communications. We
were given the following instructions to set up the macros:
I. Strikeout Macro
1. Open Outlook
2. Go to Tools -> Macro -> Security. Change Security setting to Low.
3. Go to Tools -> Macro -> Visual Basic Editor
4. In the upper left, expat 'Project 1(VbaProject.OTM)' down to
'ThisOutlookSession'
5. In the box that appears, cut and paste the following code:
Public Sub TestProc()
SendKeys "%OF{TAB 3} {TAB 2}RED{ENTER}"
End Sub
6. Now close out of Microsoft Visual Basic to return to Outlook
7. In Outlook, highlight your Inbox and then click on New to make a new
mail.
8. In the new mail screen, go to Tools -> Customize and in the Command
tab, click Macros.
9. Drag the item called Project1.ThisOutlookSession.TestProc up onto the
Toolbar that begins with File and ends with Help. Drag the item to the right
of Help and drop it.
10. Now without closing the customize box, right click on the
Project1.ThisOutlookSession.TestProc that you now have on your toolbar (not
the one in the Customize box)
11. A menu should come up. The third item should be called Name:
12. Delete the name in the box and type in: St&rike.
13. Now close the Customize Box and then close Outlook. When prompted,
click Yes to save changes.
14. The Strikeout macro should now be installed.
15. Open Outlook and check the Strikeout Macro by highlighting some text
and clicking alt+R.
II. Blue Macro
1. Open Outlook
2. Go to Tools -> Macro -> Visual Basic Editor
3. In the upper left, expat 'Project 1(VbaProject.OTM)' down to
'ThisOutlookSession'
4. In the box that appears, cut and paste the following code:
Public Sub TestProc2()
SendKeys "%OF{TAB 5}RB{ENTER}"
End Sub
5. Now close out of Microsoft Visual Basic to return to Outlook
6. In Outlook, highlight your Inbox and then click on New to make a new
mail.
7. In the new mail screen, go to Tools -> Customize and in the Command
tab, click Macros.
8. Drag the item called Project1.ThisOutlookSession.TestProc2 up onto the
Toolbar that begins with File and ends with Strike. Drag the item to the
right of Strike and drop it.
9. Now without closing the customize box, right click on the
Project1.ThisOutlookSession.TestProc2 that you now have on your toolbar (not
the one in the Customize box)
10. A menu should come up. The third item should be called Name:
11. Delete the name in the box and type in: &DBlue.
12. Now close the Customize Box and then close Outlook. When prompted,
click Yes to save changes.
13. The Blue macro should now be installed.
14. Open Outlook and check the Blue Macro by highlighting some text and
clicking alt+D.
We also have a section that states:
Troubleshooting the Strikeout Macro
Problem: When I use my Strikeout Macro, I get a screen that has a General
Tab and a Security Tab.
This behavior usually occurs if it is the first time you have used the
Strikeout Macro since opening Outlook. We don’t have a way to prevent it from
happening. To troubleshoot:
1. Click Cancel
2. You will see that what you highlighted now has the word RED written
there
3. Click CtrI + Z to Undo. You should now have the sentence you wanted
to Strikeout highlighted again.
4. Try the Macro again. It should work this time.
We've gone through these steps several times on separate machines, but
always encounter the same problem: When we highlight the text and click the
button or type alt+D/R, we are only given the text "RED" or "RB" instead of
the red stricken out text or the blue highlighted text.
I have uploaded two images from a user with working macros.
The macros in use: http://www.flibbertigibbet.org/macros1.png
VBA screenshot: http://www.flibbertigibbet.org/macros2.png
The person who created the macros is no longer employed with us, so we have
no idea what we should do.
Thank you in advance for your assistance.
-s
Our office uses two Outlook macros when we are editing communications. We
were given the following instructions to set up the macros:
I. Strikeout Macro
1. Open Outlook
2. Go to Tools -> Macro -> Security. Change Security setting to Low.
3. Go to Tools -> Macro -> Visual Basic Editor
4. In the upper left, expat 'Project 1(VbaProject.OTM)' down to
'ThisOutlookSession'
5. In the box that appears, cut and paste the following code:
Public Sub TestProc()
SendKeys "%OF{TAB 3} {TAB 2}RED{ENTER}"
End Sub
6. Now close out of Microsoft Visual Basic to return to Outlook
7. In Outlook, highlight your Inbox and then click on New to make a new
mail.
8. In the new mail screen, go to Tools -> Customize and in the Command
tab, click Macros.
9. Drag the item called Project1.ThisOutlookSession.TestProc up onto the
Toolbar that begins with File and ends with Help. Drag the item to the right
of Help and drop it.
10. Now without closing the customize box, right click on the
Project1.ThisOutlookSession.TestProc that you now have on your toolbar (not
the one in the Customize box)
11. A menu should come up. The third item should be called Name:
12. Delete the name in the box and type in: St&rike.
13. Now close the Customize Box and then close Outlook. When prompted,
click Yes to save changes.
14. The Strikeout macro should now be installed.
15. Open Outlook and check the Strikeout Macro by highlighting some text
and clicking alt+R.
II. Blue Macro
1. Open Outlook
2. Go to Tools -> Macro -> Visual Basic Editor
3. In the upper left, expat 'Project 1(VbaProject.OTM)' down to
'ThisOutlookSession'
4. In the box that appears, cut and paste the following code:
Public Sub TestProc2()
SendKeys "%OF{TAB 5}RB{ENTER}"
End Sub
5. Now close out of Microsoft Visual Basic to return to Outlook
6. In Outlook, highlight your Inbox and then click on New to make a new
mail.
7. In the new mail screen, go to Tools -> Customize and in the Command
tab, click Macros.
8. Drag the item called Project1.ThisOutlookSession.TestProc2 up onto the
Toolbar that begins with File and ends with Strike. Drag the item to the
right of Strike and drop it.
9. Now without closing the customize box, right click on the
Project1.ThisOutlookSession.TestProc2 that you now have on your toolbar (not
the one in the Customize box)
10. A menu should come up. The third item should be called Name:
11. Delete the name in the box and type in: &DBlue.
12. Now close the Customize Box and then close Outlook. When prompted,
click Yes to save changes.
13. The Blue macro should now be installed.
14. Open Outlook and check the Blue Macro by highlighting some text and
clicking alt+D.
We also have a section that states:
Troubleshooting the Strikeout Macro
Problem: When I use my Strikeout Macro, I get a screen that has a General
Tab and a Security Tab.
This behavior usually occurs if it is the first time you have used the
Strikeout Macro since opening Outlook. We don’t have a way to prevent it from
happening. To troubleshoot:
1. Click Cancel
2. You will see that what you highlighted now has the word RED written
there
3. Click CtrI + Z to Undo. You should now have the sentence you wanted
to Strikeout highlighted again.
4. Try the Macro again. It should work this time.
We've gone through these steps several times on separate machines, but
always encounter the same problem: When we highlight the text and click the
button or type alt+D/R, we are only given the text "RED" or "RB" instead of
the red stricken out text or the blue highlighted text.
I have uploaded two images from a user with working macros.
The macros in use: http://www.flibbertigibbet.org/macros1.png
VBA screenshot: http://www.flibbertigibbet.org/macros2.png
The person who created the macros is no longer employed with us, so we have
no idea what we should do.
Thank you in advance for your assistance.
-s