A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Copy data between 2 Excel for comparison



 
 
Thread Tools Display Modes
  #1  
Old February 17th, 2005, 06:56 AM
Boba
external usenet poster
 
Posts: n/a
Default Copy data between 2 Excel for comparison

Hello,

I requested by CyberTaz to ask my question again and
describe the situation I have, so here it's :

In our place we have a software. That software has a
small feature "Export to Excel". Whenever I operates
the "Export" I got new instance of Excel with data. Most
of the time I must compare data between two reports
I got in Excel. So, on my desktop there are two instances
of Excel, instead of doing the same steps over and over
again ( Select all cells, Copy, go to other Excel, Paste
the data and etc... ) I would like to write a macro that
will do the sisyphean work.

My question is : What should I write in VBA so I can copy
data from one instance of Excel to another ?
( My last option will be to write 2 macros, one for copy
the data and save it on the disk. The second macro will
load the saved file and compare the data with the other
report )

Is anyone has better solution ?

Thanks.
  #2  
Old February 18th, 2005, 12:56 AM
Dave Peterson
external usenet poster
 
Posts: n/a
Default

I'm not sure it's better, but I'd save the workbook in one instance, close that
instance and reopen that workbook in the first instance.

Then have your macro process the compare.

Heck, if you always save the first workbook with the same name, you could just
save the first workbook, close that instance and run your macro--it could open
that (just saved) workbook and do all the processing.



Boba wrote:

Hello,

I requested by CyberTaz to ask my question again and
describe the situation I have, so here it's :

In our place we have a software. That software has a
small feature "Export to Excel". Whenever I operates
the "Export" I got new instance of Excel with data. Most
of the time I must compare data between two reports
I got in Excel. So, on my desktop there are two instances
of Excel, instead of doing the same steps over and over
again ( Select all cells, Copy, go to other Excel, Paste
the data and etc... ) I would like to write a macro that
will do the sisyphean work.

My question is : What should I write in VBA so I can copy
data from one instance of Excel to another ?
( My last option will be to write 2 macros, one for copy
the data and save it on the disk. The second macro will
load the saved file and compare the data with the other
report )

Is anyone has better solution ?

Thanks.


--

Dave Peterson
 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy data between 2 instances of Excel Boba General Discussion 5 February 17th, 2005 11:46 PM
Data from Excel to Access Database Design 2 August 20th, 2004 12:53 PM
Excel Worksheets Richard General Discussion 2 July 8th, 2004 04:34 AM
Merging Excel Data into Word Document Debra Dalgleish Worksheet Functions 1 February 16th, 2004 12:15 AM
Copy Data to Sheet2 if cell in Sheet1 is not blank Max Worksheet Functions 0 November 10th, 2003 03:53 PM


All times are GMT +1. The time now is 09:45 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.