Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-10-2014, 08:43 AM
Ulodesk Ulodesk is offline Macro problem Windows 7 64bit Macro problem Office 2013
Word 2013 Expert Cert
Macro problem
 
Join Date: Sep 2009
Location: Virginia
Posts: 872
Ulodesk is on a distinguished road
Default Macro problem

I have tried to follow the directions for using Outlook's (2010) VBA, provided here http://www.slipstick.com/developer/h...ks-vba-editor/, but am running into problems.

This simple macro, the same as Word's, placed in my QAT, is not working.



Code:
Sub PasteUnformatted()
'
' PasteUnformatted Macro
'
'
    Selection.PasteSpecial Link:=False, DataType:=wdPasteText
End Sub
I get a debug pop-up and find the entire macro highlighted.

In Word, I have set [Alt+Ctrl+V] to run the above macro, and I'd like to be able to do that in Outlook messages. I can't find a way to create keyboard shortcuts, except for forum posts on Autohotkey, that appear to involve potential issues and registry editing.

Also, if I can get copy and paste formatting (Ctrl+Shift+C and Ctrl+Shift+V) onto the QAT, the Alt+number shortcuts would be fine, as a substitute for these Word shortcuts.

Help would be appreciated.
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
EXCEL macro problem please help! ryguy551 Excel Programming 2 05-22-2014 03:58 PM
Problem with macro MS baby Excel Programming 4 03-31-2014 02:47 PM
Macro problem Problem with macro tmill29 Excel Programming 1 06-08-2013 09:59 AM
Macro problem Moving data macro problem MattMurdock Excel Programming 1 07-20-2012 04:49 AM
Macro problem Another simple macro problem Ulodesk Word VBA 1 06-08-2012 06:24 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:01 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft