saidhruv
Member
Dear All,
Can you please help me with a VBA to export data into notepad file. I am facing three problems:
Problem1: Certain lines when exported to notepad file contain DOUBLE QUOTEs at start & end of the line. These extra double quotes need not be inserted into notepad. Please note that data may contain actual double quote, hence a substitue logic may not work here.
Problem2: After last data point the notepad will take an extra blank line. This extra line or tab is not required.
Problem3: Text file name should be same as excel file name and should be saved at same path where excel is available.0
Sharing sample of excel file. Also sharing text file which i am currently getting, which is erroneous. Also sharing expected output.
regards
dhruv
Can you please help me with a VBA to export data into notepad file. I am facing three problems:
Problem1: Certain lines when exported to notepad file contain DOUBLE QUOTEs at start & end of the line. These extra double quotes need not be inserted into notepad. Please note that data may contain actual double quote, hence a substitue logic may not work here.
Problem2: After last data point the notepad will take an extra blank line. This extra line or tab is not required.
Problem3: Text file name should be same as excel file name and should be saved at same path where excel is available.0
Sharing sample of excel file. Also sharing text file which i am currently getting, which is erroneous. Also sharing expected output.
regards
dhruv