ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   textbox to file (.txt or .doc) (https://www.excelbanter.com/excel-programming/378261-textbox-file-txt-doc.html)

Kagan Clearwater

textbox to file (.txt or .doc)
 
I'm new to Excel VB programming and have been searching the internet and
discussion board for the right code.

I'll have textbox1, commandbutton1, and want the button to be "Save
textbox". I can't find the code. I'm sure this is easy code to write but I
don't know how to start.

Thanks for the assistance!

NickHK

textbox to file (.txt or .doc)
 
You mean save to a file on disk ?
Look at the Open statement in VBA help, writing out the Textbox1.Text.

NickHK

"Kagan Clearwater" <Kagan wrote in
message ...
I'm new to Excel VB programming and have been searching the internet and
discussion board for the right code.

I'll have textbox1, commandbutton1, and want the button to be "Save
textbox". I can't find the code. I'm sure this is easy code to write but I
don't know how to start.

Thanks for the assistance!





All times are GMT +1. The time now is 10:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com