Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 2nd, 2009, 01:18 AM
Registered User
 
Join Date: May 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Data transfer between 2 workbooks

Hi:
I've written a single sheet workbook that is an assignment document with multiple fields (cells) of data that is emailed to a client. The client has another workbook that needs to import the assignment document data into same named fields (cells).
I am quite new at programming so this has me confused. Can this be done with VBA or do I have to go to XML importing ?
Any and all help is very appreciated.
Thanks
 
Old May 3rd, 2009, 07:01 AM
Friend of Wrox
 
Join Date: Sep 2005
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Hi James

You can try QueryTables. The query table will be in the master Excel (with client) and it can refer to the Excel you have sent [if placed in same path and with same name:)]

Cheers
Shasur
__________________
C# Code Snippets (http://www.dotnetdud.blogspot.com)

VBA Tips & Tricks (http://www.vbadud.blogspot.com)
 
Old May 3rd, 2009, 02:23 PM
Registered User
 
Join Date: May 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Data transfer between 2 workbooks

Many thanks Shasur
I am not familiar with QueryTables but I do see there are numerous pages devoted to it in my copy of Wrox Excel 2003 VBA so I shall find some quiet time this evening and will learn more about it. If I run into problems, I'll post another response on this thread.
Thanks again
James
 
Old May 4th, 2009, 12:52 AM
Friend of Wrox
 
Join Date: Sep 2005
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

You are most welcome James

Please have a look at the following too:

http://office.microsoft.com/en-us/ex...898981033.aspx

http://www.dicks-clicks.com/excel/ExternalData.htm

Cheers
Shasur
__________________
C# Code Snippets (http://www.dotnetdud.blogspot.com)

VBA Tips & Tricks (http://www.vbadud.blogspot.com)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Transfer data from one workbook into another mona_upm84 Excel VBA 0 September 3rd, 2008 11:32 PM
DATA TRANSFER vish_vj ADO.NET 1 March 7th, 2008 01:16 PM
Data Transfer Problem in C# akumarp2p C# 0 December 5th, 2006 11:51 AM
Transfer data mepancha SQL Server 2000 4 March 24th, 2005 04:29 PM
Data Transfer psingh SQL Server 2000 8 June 9th, 2003 06:25 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.