Copy Range Border Excel 2007 + Screenupdating Issue

B

Bill

We are running a VBA macro and are copying a range and then looping and
inserting the copied range. However, the copied range has the "copy border".
Is there anyway this can be turned off in vba?

Also, we cannot turn off the screenupdaing using the following below

with application
.screenupdating = false
.displayalerts=false
end with

We think it is updaitng due to a custom function in the range being copied

Is there anything else that you can totally turn Excel updating off with.

Thanks in advance
 
J

Jim Rech

To exit copy mode use Application.CutCopyMode = False

Don't know why you're having problems turning off the screen.

--
Jim
| We are running a VBA macro and are copying a range and then looping and
| inserting the copied range. However, the copied range has the "copy
border".
| Is there anyway this can be turned off in vba?
|
| Also, we cannot turn off the screenupdaing using the following below
|
| with application
| .screenupdating = false
| .displayalerts=false
| end with
|
| We think it is updaitng due to a custom function in the range being copied
|
| Is there anything else that you can totally turn Excel updating off with.
|
| Thanks in advance
|
 

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