Office & Productivity Software forum

General discussion

Outlook 2007 - create macro to delete junk folder

by sjsrch / December 10, 2007 5:38 AM PST

Is there a way to record a macro in Outlook 2007 that will empty my junk folder for me by recording key strokes?

I know this can be done in Excel and I use it all the time ... record a macro, start typing keystrokes, and it memorizes them for you.

I don't see this in Outlook. I went into the Developer tab to record a macro, but it took me to the VBA interface and wouldn't capture key strokes.

Can anyone help?

Discussion is locked
You are posting a reply to: Outlook 2007 - create macro to delete junk folder
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Outlook 2007 - create macro to delete junk folder
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
You may have to use VBA.
by R. Proffitt Forum moderator / December 10, 2007 6:13 AM PST
Collapse -
Outlook 2007 macro to delete junk folder items
by sjsrch / December 10, 2007 7:17 AM PST

PERFECT!!! Thank you so much...

Collapse -
Outlook macro to delete junk folder stopped working...
by sjsrch / December 10, 2007 10:59 PM PST

Okay - it was working PERFECTLY last night, and this morning, it stopped working. When I try to run it, I get an error message that says:

The macros in this project are disabled. Please refer to the online help or documentation of the host application to determine how to enable macros.

When I go into Outlook to check my macro settings, they ARE enabled, as they were last night. Nothing changed overnight, yet this morning, I can't run this macro. Does anybody have any ideas?


Popular Forums
Computer Newbies 10,686 discussions
Computer Help 54,365 discussions
Laptops 21,181 discussions
Networking & Wireless 16,313 discussions
Phones 17,137 discussions
Security 31,287 discussions
TVs & Home Theaters 22,101 discussions
Windows 7 8,164 discussions
Windows 10 2,657 discussions


Help, my PC with Windows 10 won't shut down properly

Since upgrading to Windows 10 my computer won't shut down properly. I use the menu button shutdown and the screen goes blank, but the system does not fully shut down. The only way to get it to shut down is to hold the physical power button down till it shuts down. Any suggestions?