Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Ben Ben is offline
external usenet poster
 
Posts: 509
Default Paste Special Macro - can't undo

Hi there,

I have recorded a very simple macro to perfom the 'Paste Special' function
but noticed that I can't undo my last action using this macro.

Can anyone help?

Macro:
Sub PasteVal()
Selection.PasteSpecial Paste:=xlValues
End Sub

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 4,624
Default Paste Special Macro - can't undo

Running the macro clears the Undo stack. See

http://www.j-walk.com/ss/excel/tips/tip23.htm

for suggestions.

In article ,
Ben wrote:

Hi there,

I have recorded a very simple macro to perfom the 'Paste Special' function
but noticed that I can't undo my last action using this macro.

Can anyone help?

Macro:
Sub PasteVal()
Selection.PasteSpecial Paste:=xlValues
End Sub

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 340
Default Paste Special Macro - can't undo

Use Sendkeys to send the keystrokes. This keeps the undo buffer.

Bob Flanagan
Macro Systems
http://www.add-ins.com
Productivity add-ins and downloadable books on VB macros for Excel

"Ben" wrote in message
...
Hi there,

I have recorded a very simple macro to perfom the 'Paste Special' function
but noticed that I can't undo my last action using this macro.

Can anyone help?

Macro:
Sub PasteVal()
Selection.PasteSpecial Paste:=xlValues
End Sub



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy & Paste Special Macro Secret Squirrel Excel Discussion (Misc queries) 3 January 27th 07 02:15 AM
MACRO PROBLEM - allowing only paste special FARAZ QURESHI Excel Discussion (Misc queries) 1 January 4th 07 10:59 AM
In Excel: add a Paste-Special Option to paste IN REVERSE ORDER. stan-the-man Excel Worksheet Functions 7 June 14th 06 08:10 PM
Copy Paste Special Macro Bud Hughes Excel Discussion (Misc queries) 2 August 31st 05 02:00 AM
Paste Special in a macro CMAC Excel Worksheet Functions 2 December 6th 04 10:19 PM


All times are GMT +1. The time now is 02:31 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"