how to create a .txt file using VB MACRO & how to write in that file?
===

 i have a file which is manually added or modified based on the inputs. so, since most of the contents are repetitive in that file,only the hex values are changing, i thought of  making it an tool generated file.

i want to write the c codes which is going to be printed in that .txt file.

what is the command to create a .txt file using Macro.

How to write it in .txt file?
