Open "c:\test\output.txt" For Output As #1 antal = Sheets("ark1").Range("a1") - 1 Print #1, For i = 1 To antal linie = Sheets("ark2").Range("b" & i) & " " & Sheets("ark2").Range("a" & i) Print #1, linie Next i Print #1, Close #1
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.