Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default importing a text file and comparing


Hello everyone,

I need to create an automated macro that will:

1. Open a workbook (easy).

2. Then prompt to import a text file from the selected
sheet in the workbook (easy).

--
This is the tricky part:

3. The values in the imported file need to be compared to some values
in another base worksheet based on ID numbers.

4. If the values match then another field from the "imported" file is
written
to the base worksheet.

--

** Any advice will be greatly appreciated. I need to start in the right
direction then move forward. I'm assuming this will involve several
modules.

--
Thanks,
Himansu


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default importing a text file and comparing

Step 3 is wqay to vague to be abble to give any help. I would import text
data into worksheet and save file. Start step three from this point. Later
combine the read text with the other steps.



"Himansu" wrote:


Hello everyone,

I need to create an automated macro that will:

1. Open a workbook (easy).

2. Then prompt to import a text file from the selected
sheet in the workbook (easy).

--
This is the tricky part:

3. The values in the imported file need to be compared to some values
in another base worksheet based on ID numbers.

4. If the values match then another field from the "imported" file is
written
to the base worksheet.

--

** Any advice will be greatly appreciated. I need to start in the right
direction then move forward. I'm assuming this will involve several
modules.

--
Thanks,
Himansu



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
Importing a text file Helena MouriƱo Excel Discussion (Misc queries) 1 April 2nd 09 07:20 PM
Importing CSV file (saved as Text) into XL as Text -- over 60 colu sbp Excel Discussion (Misc queries) 1 October 14th 06 11:50 PM
Importing text file, only option to edit existing file smokey99 Excel Discussion (Misc queries) 8 April 26th 06 09:08 PM
Importing text file Jeff Excel Discussion (Misc queries) 1 April 4th 06 01:45 PM
importing text file, removing data and outputting new text file Pal Excel Programming 8 February 27th 04 08:32 PM


All times are GMT +1. The time now is 11:05 AM.

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"