Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 208
Default linking data to specified fields

I have student test data from many different sources. How do I import the
data from different sources and link the correct scores to the student ID
numbers - each source has the same ID numbers for 500 students. I am
attempting to create a master list of student data without having to manually
type in each score for each student.
--
CSC
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default linking data to specified fields

Are the souces other excel files, text files, or othe type sources?

Linking means the sources are other excel files. If so you need to open
each workbook to find the student to perform the link (except if the students
are always in the same location). You can also search folders to find all
the files you are looking for. for example

Folder = "C:\temp"
Files = "Student Grades *.xls"

FName = dir(Folder & "\" & Files")
do while FName < ""
set Test_BK = Workbooks.Open(filename:=Folder & "\" & FName)

'put your code here

Tesk_Bk.Close
FName = Dir()
loop

Dir the frist time use you put in the Folder and File Name. Calling it
again with no parameters gets all the files with the specified criteria

"Craig" wrote:

I have student test data from many different sources. How do I import the
data from different sources and link the correct scores to the student ID
numbers - each source has the same ID numbers for 500 students. I am
attempting to create a master list of student data without having to manually
type in each score for each student.
--
CSC

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
Linking PivotTable Fields - Excel 2007 Jim Excel Discussion (Misc queries) 1 August 6th 09 09:57 PM
linking (?) fields from one worksheet to another? Kateapotomous Excel Worksheet Functions 3 November 11th 06 10:51 PM
Linking MS Project fields in Excel TamiFrank Excel Discussion (Misc queries) 0 November 9th 06 12:23 AM
linking pivot tables by page fields Nelson[_9_] Excel Programming 1 March 30th 06 02:16 PM
Linking Embedded Document Fields mae1778 Excel Discussion (Misc queries) 0 August 19th 05 04:59 PM


All times are GMT +1. The time now is 02:38 PM.

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

About Us

"It's about Microsoft Excel"