Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copy from one Spreadsheet to existing spreadsheet


Hi All!

I was having a bit of trouble working out a solution to my problem.
I'll explain what i was hoping to do. I have a spreadsheet
(template.xls) that i want to copy data into from a Excel Web Query
File (which is generated). In the Web Query File the rows and columns
are generated as follows:

A B C ....
1 Name ID Date
2
3
4
5

What i was hoping to do is have the user enter the name (in say an
InputBox) and then have the information for that name in the row get
copied and pasted to the template.xls. The thing is that there will be
multiple rows with the same name, all of which need to be copied to the
template.xls.

The problem also is that the columns in the web query file do not match
exactly to the template. This is how they match up:
Web Query File Template.xls
column D - I goes into column B - G
column J - L goes into column H - J
column M - R goes into column P - U
column S - W goes into column V - Z


I'm pretty new to vba and i wasnt sure how to get this sort of
functionality. Any help would be greatly appreciated. Thanks in
advance!

- Viewmaster


--
viewmaster
------------------------------------------------------------------------
viewmaster's Profile: http://www.excelforum.com/member.php...o&userid=32094
View this thread: http://www.excelforum.com/showthread...hreadid=527921

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to copy and append spreadsheet changes to new spreadsheet Journey Excel Discussion (Misc queries) 1 June 13th 08 04:33 PM
download existing spreadsheets into another existing spreadsheet lbierer Excel Discussion (Misc queries) 2 September 24th 06 08:36 PM
copy column and header names from existing spreadsheet to new spre lbierer New Users to Excel 2 July 15th 06 04:31 PM
In Excel I want to copy text from spreadsheet to spreadsheet Kris Excel Worksheet Functions 3 June 9th 06 07:58 PM
How to open another Excel spreadsheet to copy data into current spreadsheet ? Ricky Pang Excel Programming 0 July 13th 03 01:59 PM


All times are GMT +1. The time now is 03:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"