Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PUT # and Get #

Status
Not open for further replies.

buddyel

MIS
Mar 3, 2002
279
US

I have a textfile "engdata.txt" that i use in excel vba to take the values from cells and throw them into this CSV file.

Open "c:\path\engdata.txt" for append as #1
Write #1 Range("b8"), Range("b9"), etc...
Close #1

How can I change the code so that I can test the variable B8 against the Range("B8") in the current workbook before saving to see if it already exists and if so update that line of code with the info from the current worksheet.
Your comments are greatly appreciated...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top