Hi Tom, Problem is, when you use copy/paste in a macro, it uses the same clip board as any other application that's running. The solution is probably to eliminate copy/paste from your macro. It's a very inefficient way to run, and there's nearly always a better and much quicker way to do the same thing. Regards - Dave
On 14/04/2011, at 10:37 AM, "tomfabtas...@hotmail.com" <tomfabtas...@hotmail.com> wrote: > Hi, > I run an excel macro on a loop (Excel 2007), which runs for most of > the day and includes copy/paste code. While this macro is running, in > another instance of excel I need to copy and paste (manually, not > using a macro). Sometimes when I manually copy/paste, I get the paste > from the macro. So, the macro is doing a copy just after I manually do > a copy. > Is there anyway to "ring-fence" the macro, so that the copy/paste does > not interfer with the other work I am doing ? > Regards, > Tom > > -- > ---------------------------------------------------------------------------------- > Some important links for excel users: > 1. Follow us on TWITTER for tips tricks and links : > http://twitter.com/exceldailytip > 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 > 3. Excel tutorials at http://www.excel-macros.blogspot.com > 4. Learn VBA Macros at http://www.quickvba.blogspot.com > 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com > > To post to this group, send email to excel-macros@googlegroups.com > > <><><><><><><><><><><><><><><><><><><><><><> > Like our page on facebook , Just follow below link > http://www.facebook.com/discussexcel > -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel