Hi,
I need to format a cell using a macro so that when I save the sheet to a .csv file and I view it in notepad I get ...,"",... for that cell(where ... is the data before and after the two quotes)
I've tried:
ActiveCell.FormulaR1C1 = ""
When I export I get two commas next to each other: ...,,...
Then I tried:
ActiveCell.FormulaR1C1 = """
But the code was auto corrected to put in four quotes. The VB editor would not let me have just 3.
Finnaly tried:
ActiveCell.FormulaR1C1 = """"
Result after export: ...,"""",...
Can someone please let me know how I can just get the 2 quotes?
Thanks!
I need to format a cell using a macro so that when I save the sheet to a .csv file and I view it in notepad I get ...,"",... for that cell(where ... is the data before and after the two quotes)
I've tried:
ActiveCell.FormulaR1C1 = ""
When I export I get two commas next to each other: ...,,...
Then I tried:
ActiveCell.FormulaR1C1 = """
But the code was auto corrected to put in four quotes. The VB editor would not let me have just 3.
Finnaly tried:
ActiveCell.FormulaR1C1 = """"
Result after export: ...,"""",...
Can someone please let me know how I can just get the 2 quotes?
Thanks!