PC Review


Reply
Thread Tools Rate Thread

copy from dbf and paste to xls

 
 
guy
Guest
Posts: n/a
 
      12th Jul 2007
Currently i can open file1.dbf file with excel, then MANUALLY copy and paste
the content of file1 onto "worksheet1" in file2.xls.
After that, i run a macro that select particular rows in "worksheet1" and
paste them to a blank "worksheet2" in the same workbook.
Now i want to automate the manual copy and paste process. What can i do? Can
i use SQL to select rows from the dbf and paste them on "worksheet2"?

Thanks!!


 
Reply With Quote
 
 
 
 
jaydywan@gmail.com
Guest
Posts: n/a
 
      12th Jul 2007
On Jul 12, 2:48 pm, "guy" <g...@email.com> wrote:
> Currently i can open file1.dbf file with excel, then MANUALLY copy and paste
> the content of file1 onto "worksheet1" in file2.xls.
> After that, i run a macro that select particular rows in "worksheet1" and
> paste them to a blank "worksheet2" in the same workbook.
> Now i want to automate the manual copy and paste process. What can i do? Can
> i use SQL to select rows from the dbf and paste them on "worksheet2"?
>
> Thanks!!


Have you tried creating a "New Database Query" in excel, under "Data",
"Import External Data"?

 
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
How do I get copy/paste to copy/paste text and not the whole page =?Utf-8?B?Q2Fyb2wgSi4=?= Microsoft Word Document Management 1 6th May 2005 09:03 PM
Copy and Paste macro needs to paste to a changing cell reference =?Utf-8?B?bG91bG91?= Microsoft Excel Programming 0 24th Feb 2005 10:29 AM
Copy & Paste Object without using the Excel Copy Paste functions =?Utf-8?B?R2Fueg==?= Microsoft Excel New Users 0 10th Mar 2004 07:06 AM
Copy & Paste Object without using the Excel Copy Paste functions =?Utf-8?B?R2Fueg==?= Microsoft Excel Misc 0 10th Mar 2004 07:06 AM
Re: Copy/Paste in Excel prints highlighted cells and does not paste Dave Peterson Microsoft Excel Misc 0 30th Jul 2003 11:08 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:10 AM.