Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Read a .xls file and insert its values to certain lines in a text

Hi,

I have an Excel speadsheet that contains paper run info. which I need to
combine with other info which is contained in a text file.

I'm just wondering is it possible to do this with VBA or should I try and do
it using Visual Studio?

How would I go about it?

Thanks in advance,
G
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 923
Default Read a .xls file and insert its values to certain lines in a text

Assuming the text file has discernible structure then you can open this into
an Excel worksheet and use this data for your application.

--
Cheers
Nigel



"Thegman" wrote in message
...
Hi,

I have an Excel speadsheet that contains paper run info. which I need to
combine with other info which is contained in a text file.

I'm just wondering is it possible to do this with VBA or should I try and

do
it using Visual Studio?

How would I go about it?

Thanks in advance,
G



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Read a .xls file and insert its values to certain lines in a t

Hi Nigel,

Thanks for that but this needs to be done automatically. I have an Excel
spreadsheet that contains the following in no particular order: name, address,
run number, quantity, etc.

What I'd like would be to open the Excel file and insert its contents into a
table then query this table at a later date.

Thanks again,
G

"Nigel" wrote:

Assuming the text file has discernible structure then you can open this into
an Excel worksheet and use this data for your application.

--
Cheers
Nigel



"Thegman" wrote in message
...
Hi,

I have an Excel speadsheet that contains paper run info. which I need to
combine with other info which is contained in a text file.

I'm just wondering is it possible to do this with VBA or should I try and

do
it using Visual Studio?

How would I go about it?

Thanks in advance,
G




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 read all lines from a text file into cells C10:Cxxx ? Claudia d'Amato Excel Discussion (Misc queries) 1 September 22nd 09 01:11 PM
How do you save an excel file to be read as IBM-type text file ? Dee Franklin Excel Worksheet Functions 2 October 10th 06 02:46 AM
text box insert in Excel - text box lines print on second copy Diana (Berry & Co) Excel Discussion (Misc queries) 0 July 26th 06 04:39 AM
How do I insert two lines of text into one cell? mb Excel Discussion (Misc queries) 2 June 29th 06 01:04 AM
excel97 vba to append lines to text file overwriting last 2 lines Paul Excel Programming 1 November 6th 04 08:11 PM


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