Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi All,
I am using the worksheet_activate and worksheet_deactivate events to turn on and off Excels automatic calculation so that when I select "Sheet_1" it turns calculate on and off when the sheet is deselected. The problem is that using the events in this way appears to clear the clipboard. As a result I am unable to manually paste data to Sheet_1. How would I get around this? I am using the application.calculation = xlManual to turn off and on calculation. Thanks in advance Andi |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It would be difficult. If performing an action causes an adverse situation,
then the work around is to avoid the action. In this case, I think you might have to give something up. You are correct that many actions performed by macros cause the clipboard to be cleared. -- Regards, Tom Ogilvy "Andibevan" wrote in message ... Hi All, I am using the worksheet_activate and worksheet_deactivate events to turn on and off Excels automatic calculation so that when I select "Sheet_1" it turns calculate on and off when the sheet is deselected. The problem is that using the events in this way appears to clear the clipboard. As a result I am unable to manually paste data to Sheet_1. How would I get around this? I am using the application.calculation = xlManual to turn off and on calculation. Thanks in advance Andi |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
"Tom Ogilvy" wrote in message
... It would be difficult. If performing an action causes an adverse situation, then the work around is to avoid the action. In this case, I think you might have to give something up. You are correct that many actions performed by macros cause the clipboard to be cleared. Does it clear the windows clipboard or just deactivate cutcopymode in excel? |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
CutCopyMode for sure - but that is usually what someone is doing when they
copy in Excel. -- Regards, Tom Ogilvy "Damien McBain" wrote in message ... "Tom Ogilvy" wrote in message ... It would be difficult. If performing an action causes an adverse situation, then the work around is to avoid the action. In this case, I think you might have to give something up. You are correct that many actions performed by macros cause the clipboard to be cleared. Does it clear the windows clipboard or just deactivate cutcopymode in excel? |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
So you could still paste into excel but use PasteSpecial to specify ho (ie
xlvalues?). "Tom Ogilvy" wrote in message ... CutCopyMode for sure - but that is usually what someone is doing when they copy in Excel. -- Regards, Tom Ogilvy "Damien McBain" wrote in message ... "Tom Ogilvy" wrote in message ... It would be difficult. If performing an action causes an adverse situation, then the work around is to avoid the action. In this case, I think you might have to give something up. You are correct that many actions performed by macros cause the clipboard to be cleared. Does it clear the windows clipboard or just deactivate cutcopymode in excel? |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You will have to test it if you want the authoritative answer for your
situation. -- Regards, Tom Ogilvy "Damien McBain" wrote in message ... So you could still paste into excel but use PasteSpecial to specify ho (ie xlvalues?). "Tom Ogilvy" wrote in message ... CutCopyMode for sure - but that is usually what someone is doing when they copy in Excel. -- Regards, Tom Ogilvy "Damien McBain" wrote in message ... "Tom Ogilvy" wrote in message ... It would be difficult. If performing an action causes an adverse situation, then the work around is to avoid the action. In this case, I think you might have to give something up. You are correct that many actions performed by macros cause the clipboard to be cleared. Does it clear the windows clipboard or just deactivate cutcopymode in excel? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
launching Excel clears clipboard | Excel Discussion (Misc queries) | |||
Strange behaviour - loading Excel clears Clipboard | Excel Discussion (Misc queries) | |||
Worksheet_SelectionChange clears clipboard - can I stop this? | Excel Programming | |||
Really Need Help: side effect clears clipboard!!! | Excel Programming | |||
Clear Clipboard on Workbook Close Event (Excel XP) | Excel Programming |