Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Importing names from one excel file to another

Hi All,



I am looking for some help with the following:



I have an excel spreadsheet that I am using as a

master database. This database needs to be updated quarterly

with the names of various individuals from four different regions.



In order to make the data entry more convenient I would like

to provide a template workbook to various folks who will be responsible

for completing the data for their regions.



Once the template workbook is returned, I would like to click on a

button in the master database file which will allow me to specify the

location of the template file and import all the names from the various

template files into the master database starting at the next empty

row in the master database.



Any ideas on how to accomplish the above?



All suggestions welcome.



Thanks,



Steve


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,298
Default Importing names from one excel file to another

look as this:

Sub ListFiles()
Dim ws As Worksheet
Dim index As Long
Dim folder As String
Dim fn
folder = "H:\Excel_Demos\*.xls"
fn = Dir(folder)
If fn < "" Then
Set ws = Worksheets.Add(Worksheets(1))
End If
Do Until fn = ""
index = index + 1
ws.Cells(index, 1) = fn
fn = Dir()
Loop
End Sub

"Steve" wrote:

Hi All,



I am looking for some help with the following:



I have an excel spreadsheet that I am using as a

master database. This database needs to be updated quarterly

with the names of various individuals from four different regions.



In order to make the data entry more convenient I would like

to provide a template workbook to various folks who will be responsible

for completing the data for their regions.



Once the template workbook is returned, I would like to click on a

button in the master database file which will allow me to specify the

location of the template file and import all the names from the various

template files into the master database starting at the next empty

row in the master database.



Any ideas on how to accomplish the above?



All suggestions welcome.



Thanks,



Steve



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
How to use first row of delimited file for field names when importing ? goldtech New Users to Excel 1 October 21st 11 06:57 AM
problem importing names from Excel to Outlook LAV Excel Discussion (Misc queries) 0 September 5th 07 06:50 AM
importing/exporting lists of names/addresses into and out of excel Bob Z Excel Discussion (Misc queries) 0 April 30th 05 06:56 PM
Importing Microsoft Word File Names jrwaguespack Excel Worksheet Functions 3 March 16th 05 07:41 AM


All times are GMT +1. The time now is 12:30 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"