Clearing ClipBoard in EXCEL

M

MarioB

Hello,

I need help.
I got a memory problem in excel caused by a VBA module using the
command copy(cntl+C) in a loop.
Is there any way in VBA to clear the Excel clipboard in
my loop before getting the memory problem
or a way to copy a cell, paste it and clear
the copied cell out from the clipboard

Thanks & sorry the way i write english

MarioB
 
L

Lester

I think this does it

Application.CutCopyMode = False

But then again, I am no expert.

Lester
 
G

Guest

It sounds as if I am trying to do the same thing. Did the
"application.cutcopymode = false" work for you?

I have a copy in a loop and it will will work just fine for about 21 copies.
It will then give me an error saying copy command will not work???? But it
did do 21 of them.

Let me know what you did to solve your problem

thanks for any help

Carter
 

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

Top