LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Read/Write data to/from text files from a spreadsheet.

Hi,

I have:

1. A text file called "t.txt" which contains just 1 line.
This 1 line contains just 1 value. Call this value "x".

2. An spreadsheet cell formula that does some calculations
and returns the value "y".


I need to:

1. Change the value "x" in the "t.txt" file to value "z".

2. Where z = x - y


So the steps would be:

1. Get value "x" from "t.txt" file. By the way,
the name "t.txt" comes from cell a12.

2. Get value "y" from cell d34.

3. Subtract "x" from "y" and assign the result to "z".

4. Replace the value "x" in "t.txt" file with value "z".


Can you tell me - How can this be done WITHOUT using any VBA code?
Can this be done using just formulas? If yes, please show me how?

Thanks.
Luther



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

 
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
Read 3 txt input files and create an XL spreadsheet Jaycee[_2_] Excel Discussion (Misc queries) 0 February 18th 10 06:45 PM
Saving Excel files to Read/Write only folders vteventrider Excel Discussion (Misc queries) 1 September 5th 07 08:31 PM
I have a read only xl file, I need it to be read and write drama queen Excel Discussion (Misc queries) 3 July 1st 06 12:25 AM
Sharing read-write Excel 2003 files ttt8262 Excel Discussion (Misc queries) 0 April 1st 06 09:39 PM
How can a file be converted from Read-Only to Read/Write Jim in Apopka Excel Discussion (Misc queries) 2 November 19th 05 04:59 PM


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