Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ben Ben is offline
external usenet poster
 
Posts: 509
Default Copy enabled / Pasted disabled

Hi,
I am using a workbook where I can copy/paste data from / to worksheet into
the current workbook. But when trying to copy/paste data from this workbook
to a worksheet in a different workbook, it won't let me paste (ie. Copy is OK
but then Paste is disabled)
Any idea what's going on? Any properties on the source workbook I should
change?

Problem shouldn't come from the target workbook as the operation is OK with
2 blanks workbooks
Thanks for your help
Ben
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Copy enabled / Pasted disabled

Macros can kill the clipboard.

Do you have any event macros that run after you do the copy?



Ben wrote:

Hi,
I am using a workbook where I can copy/paste data from / to worksheet into
the current workbook. But when trying to copy/paste data from this workbook
to a worksheet in a different workbook, it won't let me paste (ie. Copy is OK
but then Paste is disabled)
Any idea what's going on? Any properties on the source workbook I should
change?

Problem shouldn't come from the target workbook as the operation is OK with
2 blanks workbooks
Thanks for your help
Ben


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
Ben Ben is offline
external usenet poster
 
Posts: 509
Default Copy enabled / Pasted disabled

l have a few macros on the spreadsheet but not any spefically killing the
clipboard?
How can I check the clipboard stack in VBA or more generally how can I force
the clipboard to be active ? (weird though as I can copy but not paste)
"Dave Peterson" wrote:

Macros can kill the clipboard.

Do you have any event macros that run after you do the copy?



Ben wrote:

Hi,
I am using a workbook where I can copy/paste data from / to worksheet into
the current workbook. But when trying to copy/paste data from this workbook
to a worksheet in a different workbook, it won't let me paste (ie. Copy is OK
but then Paste is disabled)
Any idea what's going on? Any properties on the source workbook I should
change?

Problem shouldn't come from the target workbook as the operation is OK with
2 blanks workbooks
Thanks for your help
Ben


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Copy enabled / Pasted disabled

There are things that macros do that kill the clipboard with the explicit:
Application.cutcopymode = false
line.

If you have a macro that kills the clipboard when it runs and you don't want
that to happen, then the only solution I know is to not run the macro.

If you close excel and reopen in safe mode (disabling macros):

Close excel
windows start button|run
type this and hit enter:
excel /safe

file|open yourworkbook.xls

Then test it out. If you can copy|paste successfully, then I'd look at any
events that could be running automatically.

Close excel and reopen it normally.

If this is a one time thing (or very rarely used), you can tell to stop looking
for changes:

Hit alt-f11 (to get to the VBE)
hit ctrl-g (to see the immediate window)
type this and hit enter:
application.enableevents = false

Back to excel and do what you want.

When you're ready, toggle the events back on (= true).

======
Any chance you're using an addin that breaks the copying?



Ben wrote:

l have a few macros on the spreadsheet but not any spefically killing the
clipboard?
How can I check the clipboard stack in VBA or more generally how can I force
the clipboard to be active ? (weird though as I can copy but not paste)
"Dave Peterson" wrote:

Macros can kill the clipboard.

Do you have any event macros that run after you do the copy?



Ben wrote:

Hi,
I am using a workbook where I can copy/paste data from / to worksheet into
the current workbook. But when trying to copy/paste data from this workbook
to a worksheet in a different workbook, it won't let me paste (ie. Copy is OK
but then Paste is disabled)
Any idea what's going on? Any properties on the source workbook I should
change?

Problem shouldn't come from the target workbook as the operation is OK with
2 blanks workbooks
Thanks for your help
Ben


--

Dave Peterson


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copy enabled / Pasted disabled


Are your two workbooks open in same instance of Excel, or do you hav
two instances of Excel active

--
DataCollecto
-----------------------------------------------------------------------
DataCollector's Profile: http://www.hightechtalks.com/m36
View this thread: http://www.hightechtalks.com/t229652



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
paste option disabled after clicking copy mbargfre Excel Discussion (Misc queries) 5 August 1st 08 05:32 PM
copy active cell value,find the pasted value in different worksheet [email protected] Excel Worksheet Functions 2 July 9th 06 09:56 AM
How to copy paste from Excel and leave the pasted data editable? Cropduster Excel Worksheet Functions 3 June 11th 05 10:03 AM
Can ActiveX controls be "disabled" and "enabled"? William DeLeo Excel Programming 1 May 7th 04 09:10 PM
Disabled Enabled Garry Jones Excel Programming 1 October 23rd 03 08:44 AM


All times are GMT +1. The time now is 06:59 PM.

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

About Us

"It's about Microsoft Excel"