ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Paste Command (https://www.excelbanter.com/excel-programming/311914-paste-command.html)

martin

Paste Command
 
I have a script that has the "ActiveSheet.Paste" command
as the last line. When it executes, it leaves the
message "Select destination and press ENTER or choose
Paste" on the bottom left message bar.

I have tried adding statements to move the cursor after
the paste, but the message still appears.

Is there a way to remove this message? I don't want to
confuse the end users of this script.

Thanks.


Jack Schitt

Paste Command
 
Just a thought, but have you tried adding
CutCopyMode = False
after the paste command?

--
Return email address is not as DEEP as it appears
"Martin" wrote in message
...
I have a script that has the "ActiveSheet.Paste" command
as the last line. When it executes, it leaves the
message "Select destination and press ENTER or choose
Paste" on the bottom left message bar.

I have tried adding statements to move the cursor after
the paste, but the message still appears.

Is there a way to remove this message? I don't want to
confuse the end users of this script.

Thanks.




martin

Paste Command
 
I tried your suggestion, but it did not work.

Thanks.

-----Original Message-----
Just a thought, but have you tried adding
CutCopyMode = False
after the paste command?

--
Return email address is not as DEEP as it appears
"Martin" wrote in

message
...
I have a script that has the "ActiveSheet.Paste" command
as the last line. When it executes, it leaves the
message "Select destination and press ENTER or choose
Paste" on the bottom left message bar.

I have tried adding statements to move the cursor after
the paste, but the message still appears.

Is there a way to remove this message? I don't want to
confuse the end users of this script.

Thanks.



.


No Name

Paste Command
 
hi,
application.cutcopymode = false should do it.
-----Original Message-----
Just a thought, but have you tried adding
CutCopyMode = False
after the paste command?

--
Return email address is not as DEEP as it appears
"Martin" wrote in

message
...
I have a script that has the "ActiveSheet.Paste" command
as the last line. When it executes, it leaves the
message "Select destination and press ENTER or choose
Paste" on the bottom left message bar.

I have tried adding statements to move the cursor after
the paste, but the message still appears.

Is there a way to remove this message? I don't want to
confuse the end users of this script.

Thanks.



.


martin

Paste Command
 
That did the trick. Thanks.


-----Original Message-----
hi,
application.cutcopymode = false should do it.
-----Original Message-----
Just a thought, but have you tried adding
CutCopyMode = False
after the paste command?

--
Return email address is not as DEEP as it appears
"Martin" wrote in

message
...
I have a script that has the "ActiveSheet.Paste" command
as the last line. When it executes, it leaves the
message "Select destination and press ENTER or choose
Paste" on the bottom left message bar.

I have tried adding statements to move the cursor after
the paste, but the message still appears.

Is there a way to remove this message? I don't want to
confuse the end users of this script.

Thanks.



.

.



All times are GMT +1. The time now is 07:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com