Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Read,Show,Update,Format & Save a text file.

Hi,

I have a text file "Companies.txt" with data exactly like
BUB
CHC
ATR
CHC

I have a main form frmMain on my Excel sheet with a command button
"Add/Edit Companies" which when pressed should show the text on another
form frmEdit to edit companies.

The frmEdit has two command buttons "Save" and "Close".

The user should be able to add, delete, update or change the data.
After adding/editing data when the user presses "Save" the contents
should get saved into "Companies.txt". Also these contents should be
formatted and written to a new text file "FI - Companies.txt" as
follows:
C#BUB##
C#CHC##
C#ATR##
C#CHC##

But when "Close" is pressed nothing should happen.

Can someone please guide me on achieving this one.
Many Thanks
Bristol

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 do I save excel file in text format without columns? Tuuti Excel Discussion (Misc queries) 1 July 15th 08 06:40 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
Autoname a save as file from a cell in a read only file g4rod Excel Discussion (Misc queries) 2 October 6th 06 01:16 PM
cant save read only file pglm Excel Discussion (Misc queries) 2 September 15th 06 02:02 PM
Why will Excel will not save text format in a .csv file davis Excel Worksheet Functions 1 January 25th 06 05:44 PM


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