PC Review


Reply
Thread Tools Rate Thread

Copy Cells from one excel application to another

 
 
=?Utf-8?B?QmlsbC00MQ==?=
Guest
Posts: n/a
 
      12th Oct 2007
Hi. I have two excel applications open (on seperate monitors) I want to
use VBA to copy information from one spreadsheet application to a different
spreadsheet.

Manually I would activate the 1st application with the mouse, copy then
activate the other application and paste. I'd like to automate this

I'm not sure how to reference the two open excel applications.

Thanks for any help!!
 
Reply With Quote
 
 
 
 
dan dungan
Guest
Posts: n/a
 
      12th Oct 2007
What does the macro recorder shows when you process manually?

Dan Dungan
>
> I'm not sure how to reference the two open excel applications.
>
> Thanks for any help!!



 
Reply With Quote
 
=?Utf-8?B?QmlsbC00MQ==?=
Guest
Posts: n/a
 
      12th Oct 2007


"dan dungan" wrote:

> What does the macro recorder shows when you process manually?
>
> Dan Dungan
> >
> > I'm not sure how to reference the two open excel applications.
> >
> > Thanks for any help!!

>
>


The macro recorder just shows the commands from the one excel applicaton ..
ie the select and paste, not the select and copy from the other excell
application.


 
Reply With Quote
 
dan dungan
Guest
Posts: n/a
 
      12th Oct 2007
Hi Bill,

It seems this is a more advanced question than I can answer, but I'm
curious. . .

1. Are the two monitors connected to one computer?
2. Is having to excel applications open the same as having two
workbooks open?

Dan


> The macro recorder just shows the commands from the one excel applicaton ..
> ie the select and paste, not the select and copy from the other excell
> application.



 
Reply With Quote
 
=?Utf-8?B?SmltIFRob21saW5zb24=?=
Guest
Posts: n/a
 
      12th Oct 2007
Why multiple instances of XL? you can do two monitors with just one
instance... Check out this link...

http://www.cpearson.com/excel/MultipleMonitors.aspx

If you still need to have multiple instances then you are pretty much on
your own. There is no easy way to get one instance to recognize the other.
--
HTH...

Jim Thomlinson


"Bill-41" wrote:

> Hi. I have two excel applications open (on seperate monitors) I want to
> use VBA to copy information from one spreadsheet application to a different
> spreadsheet.
>
> Manually I would activate the 1st application with the mouse, copy then
> activate the other application and paste. I'd like to automate this
>
> I'm not sure how to reference the two open excel applications.
>
> Thanks for any help!!

 
Reply With Quote
 
=?Utf-8?B?SmltIFRob21saW5zb24=?=
Guest
Posts: n/a
 
      12th Oct 2007
As a guess I would say that Bill 41 has 2 monitors connected to the same
computer. he has opened two instances of XL and placed one on each monitor.

One instance of XL can have multiple workbooks open in it. The same as one
workbook can have many sheets in it. You can also open up multiple instances
of XL. If you do that then one instance knows nothing about the other
instances and there is no easy wy to have a workbook in one instance
communicate with a workbook in another instance.
--
HTH...

Jim Thomlinson


"dan dungan" wrote:

> Hi Bill,
>
> It seems this is a more advanced question than I can answer, but I'm
> curious. . .
>
> 1. Are the two monitors connected to one computer?
> 2. Is having to excel applications open the same as having two
> workbooks open?
>
> Dan
>
>
> > The macro recorder just shows the commands from the one excel applicaton ..
> > ie the select and paste, not the select and copy from the other excell
> > application.

>
>
>

 
Reply With Quote
 
=?Utf-8?B?QmlsbC00MQ==?=
Guest
Posts: n/a
 
      13th Oct 2007
Hi Jim. Yes, that's the setup I have. Two instances just seemed simple
enough when doing the copying manually. One instance on each monitor.
Thanks for the link!!!! Looks like it should be very usefull :-)

"Jim Thomlinson" wrote:

> Why multiple instances of XL? you can do two monitors with just one
> instance... Check out this link...
>
> http://www.cpearson.com/excel/MultipleMonitors.aspx
>
> If you still need to have multiple instances then you are pretty much on
> your own. There is no easy way to get one instance to recognize the other.
> --
> HTH...
>
> Jim Thomlinson
>
>
> "Bill-41" wrote:
>
> > Hi. I have two excel applications open (on seperate monitors) I want to
> > use VBA to copy information from one spreadsheet application to a different
> > spreadsheet.
> >
> > Manually I would activate the 1st application with the mouse, copy then
> > activate the other application and paste. I'd like to automate this
> >
> > I'm not sure how to reference the two open excel applications.
> >
> > Thanks for any help!!

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
does any one know to copy cells within an IF statement in Excel DonE Microsoft Excel Worksheet Functions 10 2nd Jun 2009 12:42 AM
is it possible for a excel document to copy cells to another excel =?Utf-8?B?amVubmlzcw==?= Microsoft Excel Misc 3 27th Feb 2006 04:18 PM
copy & paste spreadsheet cells from excel to outlook to excel =?Utf-8?B?bWlzbWFycGxl?= Microsoft Excel Misc 1 20th Sep 2005 11:16 PM
Excel VBA - copy cells to another workbook cjh1984 Microsoft Excel Misc 2 29th May 2004 08:32 AM
Copy cells from Excel Ron Bromwell Microsoft Access VBA Modules 5 28th May 2004 09:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:18 AM.