Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Output to Notepad

I have some inputboxes prompting the user for certain
values. I would like these values to be saved in a text
file. Is there some way this can be done?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Output to Notepad

Dim myCriteria As String
Dim myOutText As String
Dim tmpfileName As String


tmpfileName = "C:\Program Files\YourFile.txt"
'Open tmpfileName For Output As #1 - to clear and start fresh
Open tmpfileName For Append Access Write As #1
myOutText = "What ever..."
Write #1, myOutText
Close #1

That is what I have used in the past.

Keith
www.kjtfs.com


---
Message posted from http://www.ExcelForum.com/

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
Notepad to excel T Miller Excel Discussion (Misc queries) 5 October 19th 06 10:56 PM
Pasting from Notepad Al Excel Discussion (Misc queries) 1 June 14th 05 02:41 AM
notepad to excel jeremy via OfficeKB.com New Users to Excel 1 June 9th 05 05:46 PM
DDEInitiate with Notepad Kevin Excel Programming 4 October 15th 03 08:35 PM
notepad in excel Mohan[_2_] Excel Programming 1 August 29th 03 03:08 PM


All times are GMT +1. The time now is 09:40 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"