I want my Macro to select the columns E to J from a table. The Active Row is selected by the user from an Excel Table. So far my macro selects a whole line and looks like this..
Sub kontakt_makro1()
Dim Text1 As String
Dim currentRow As Long
Dim c As Excel.Range
'Schliessen einer geöffneten Datei
Close #1
Open "c:\demotext.txt" For Append As #1
For Each c In Selection
Write #1, c.Value
Next
Close #1
End Sub
The Other problem is that my macro writes in a text file and every line is in quotationmarks which I dont know how to get rid of.
the output looks like this....
"Frau Evelyn Göhler"
"Qualitätsmanagement"
"Klingenbergstraße 16"
"32758 Detmold"