Problem in Excel

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am working on a customers excel file.

Currently, when I copy a cell, it gets selected. When I click on any other
cell to
paste, the selected cell loses it's selection, and I cannot Paste.

When I disable the Macros, I don't have this problem.

Any idea what the macros could be enabling or disabling to cause this.

Thanks.

Paul van coller
 
Lots of developers tie into events (like when you change selection or change a
cell) and have their code do something "important".

So that developer could be explicitly trying to stop you from pasting, but more
normally, lots of macros will clear the cutcopymode in excel. And you're just
suffering from that problem.

The solution is to disable all macros -- like you did.

Or temporarily disable event monitoring.

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

When you're ready to go back to "normal", do the same thing, but change it to
true.
 
Hi Dave

Thank you very much

It worked like a bomb (without exploding).

Paul.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top