Avatar billede steensommer Praktikant
20. december 2003 - 01:31 Der er 37 kommentarer og
1 løsning

Indsættes data i Word

Hej

Følgende lange VBA indsætter bookmarks i Word (til at danne en større mænde labels).
Data indsættes fra linie 70. Koden fungerer perfekt. Jeg ville dog gerne om den kunne starte med at indsætte data fra linie 70 (herefter printe) siden line 71 (printe).... indtil der kommer en tom linie.
Er der en der kan hjælpe med at ændre koden?

vh Steen

Sub StartLabels()

'Vi erklærer lige nogen variable
    Dim Wdapp As Object
    Dim HCV As String
    Dim CPR As String
    Dim FNavn As String
    Dim ENavn As String
    Dim Adr As String
    Dim PostBy As String
    Dim sPath As String

'Og tildeler dem en værdi baseret på indholdet af arket
With ActiveWorkbook.Sheets("Ark1")
    HCV = Range("I70").Value
    FNavn = Range("B70").Value
    ENavn = Range("E70").Value
    CPR = Range("G70").Value
    Adr = Range("AA70").Value
    PostBy = Range("AC70").Value
End With

    If Range("I70").Value <> "" Then
   
'Undersøger om Word er startet
        On Error Resume Next
        Set Wdapp = GetObject(, "Word.application")
            If Err.Number <> 0 Then
'Ellers starter vi word
            Set Wdapp = CreateObject("Word.Application")
            End If
   
'Så laver vi et nyt tomt dokument baseret på den relevante skabelon
                    Wdapp.Documents.Add ("\\hjertesrv\faelles\Index\dokumenter\Sekretariat\Labels\Labels1.dot")

'Skabelonen indeholder to bogmærker i headeren. De hedder cpr og navn
'I disse bogmærker indsætter vi den variable information fra arket.
                    Wdapp.ActiveDocument.Bookmarks("Cpr1").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr2").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr3").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr4").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr5").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr6").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr7").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr8").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr9").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr10").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr11").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr12").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr13").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr14").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr15").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr16").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr17").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr18").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr19").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr20").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr21").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr22").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr23").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr24").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr25").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr26").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr27").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr28").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr29").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr30").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr31").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr32").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr33").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr34").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr35").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr36").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr37").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr38").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr39").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr40").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr41").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr42").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr43").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr44").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr45").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr46").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr47").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr48").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr49").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr50").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr51").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr52").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr53").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr54").Range.Text = CPR
                    Wdapp.ActiveDocument.Bookmarks("Cpr55").Range.Text = CPR
                   
                    Wdapp.ActiveDocument.Bookmarks("Hcv1").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv2").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv3").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv4").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv5").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv6").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv7").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv8").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv9").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv10").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv11").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv12").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv13").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv14").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv15").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv16").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv17").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv18").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv19").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv20").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv21").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv22").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv23").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv24").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv25").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv26").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv27").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv28").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv29").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv30").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv31").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv32").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv33").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv34").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv35").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv36").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv37").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv38").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv39").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv40").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv41").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv42").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv43").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv44").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv45").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv46").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv47").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv48").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv49").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv50").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv51").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv52").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv53").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv54").Range.Text = HCV
                    Wdapp.ActiveDocument.Bookmarks("Hcv55").Range.Text = HCV
                   
                    Wdapp.ActiveDocument.Bookmarks("FNavn1").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn2").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn3").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn4").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn5").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn6").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn7").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn8").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn9").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn10").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn11").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn12").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn13").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn14").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn15").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn16").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn17").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn18").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn19").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn20").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn21").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn22").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn23").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn24").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn25").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn26").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn27").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn28").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn29").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn30").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn31").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn32").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn33").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn34").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn35").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn36").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn37").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn38").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn39").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn40").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn41").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn42").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn43").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn44").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn45").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn46").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn47").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn48").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn49").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn50").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn51").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn52").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn53").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn54").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn55").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn56").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn57").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn58").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn59").Range.Text = FNavn
                    Wdapp.ActiveDocument.Bookmarks("FNavn60").Range.Text = FNavn
                 
                    Wdapp.ActiveDocument.Bookmarks("ENavn1").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn2").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn3").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn4").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn5").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn6").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn7").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn8").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn9").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn10").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn11").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn12").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn13").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn14").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn15").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn16").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn17").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn18").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn19").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn20").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn21").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn22").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn23").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn24").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn25").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn26").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn27").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn28").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn29").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn30").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn31").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn32").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn33").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn34").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn35").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn36").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn37").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn38").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn39").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn40").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn41").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn42").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn43").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn44").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn45").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn46").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn47").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn48").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn49").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn50").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn51").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn52").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn53").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn54").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn55").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn56").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn57").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn58").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn59").Range.Text = ENavn
                    Wdapp.ActiveDocument.Bookmarks("ENavn60").Range.Text = ENavn

                   
                    Wdapp.ActiveDocument.Bookmarks("Adr56").Range.Text = Adr
                    Wdapp.ActiveDocument.Bookmarks("Adr57").Range.Text = Adr
                    Wdapp.ActiveDocument.Bookmarks("Adr58").Range.Text = Adr
                    Wdapp.ActiveDocument.Bookmarks("Adr59").Range.Text = Adr
                    Wdapp.ActiveDocument.Bookmarks("Adr60").Range.Text = Adr

       
                    Wdapp.ActiveDocument.Bookmarks("PostBy56").Range.Text = PostBy
                    Wdapp.ActiveDocument.Bookmarks("PostBy57").Range.Text = PostBy
                    Wdapp.ActiveDocument.Bookmarks("PostBy58").Range.Text = PostBy
                    Wdapp.ActiveDocument.Bookmarks("PostBy59").Range.Text = PostBy
                    Wdapp.ActiveDocument.Bookmarks("PostBy60").Range.Text = PostBy


'Så skal dokumentet gemmes med indholdet af cpr variable som filnavn
                    Wdapp.ActiveDocument.SaveAs Filename:="\\hjertesrv\faelles\Index Data\Labels.doc"

'Så gør vi Word synlig så der kan skrives i kontinuationen
                    Wdapp.Visible = True

'Og frigiver lidt hukommelse når Word lukkes
                    Set Wdapp = Nothing

    Else:
    Call HentDataTilLabels
   
    End If
   
End Sub
Avatar billede Slettet bruger
20. december 2003 - 19:54 #1
I en af kommentarene står der:
'Så gør vi Word synlig så der kan skrives i kontinuationen

Er det noget der skal skrives på hver label ?
Avatar billede steensommer Praktikant
20. december 2003 - 20:32 #2
Ja - der skal skrives en personspecifikt nr, Navn, Adresse og postnr og by på ca 60 stk labels.
Men jeg har just fået løst problemet vha jKrons og udgiver snarligt løsningen.
Tak for din interesse.
Avatar billede Slettet bruger
20. december 2003 - 21:09 #3
Du får også min løsning, da jeg alligevel har lavet den.

----------------------------

Sub StartLabels()

'Vi erklærer lige nogen variable
    Dim Wdapp As Word.Application
    Dim HCV As String
    Dim CPR As String
    Dim FNavn As String
    Dim ENavn As String
    Dim Adr As String
    Dim PostBy As String

    Dim startRow As Integer
    Dim rowCounter As Integer
   
    ' Husk at sætte en reference til Word Objektet i menuen Tools -> References
    Dim WDoc As Word.Document
    Dim gemmeSti As String
    Dim filNavn As String
   
    gemmeSti = "F:\"
    filNavn = "test.dot"
   
    startRow = 70
    rowCounter = startRow
       
    'Undersøger om Word er startet
    On Error Resume Next
    Set Wdapp = GetObject(, "Word.application")
    If Err.Number <> 0 Then
        'Ellers starter vi word
        Set Wdapp = CreateObject("Word.Application")
    End If

    HCV = ActiveSheet.Cells(rowCounter, 9)
    Do
        'Læs en række
        With ActiveSheet
            HCV = .Cells(rowCounter, 9)
            FNavn = .Cells(rowCounter, 2)
            ENavn = .Cells(rowCounter, 5)
            CPR = .Cells(rowCounter, 7)
            Adr = .Cells(rowCounter, 27)
            PostBy = .Cells(rowCounter, 29)
        End With
        rowCounter = rowCounter + 1
           
        'Opret et nyt Word dokument baseret på skabelonen
        Wdapp.Documents.Add Template:=gemmeSti & filNavn, NewTemplate:=False, DocumentType:=0
       
        With Wdapp.ActiveDocument
            'Indsæt data i dokumentets bookmarks
            .bookmarks("Cpr").Range.Text = CPR
            .bookmarks("Hcv").Range.Text = HCV
            .bookmarks("FNavn").Range.Text = FNavn
            .bookmarks("ENavn").Range.Text = ENavn
            .bookmarks("Adr").Range.Text = Adr
            .bookmarks("PostBy").Range.Text = PostBy
           
            'Gem dokumentet med CPR-nr som filnavn
            .SaveAs Filename:=gemmeSti & CPR & ".doc"
            .Close False
        End With
   
    HCV = ActiveSheet.Cells(rowCounter, 9)
    Loop While HCV <> ""

    'Så gør vi Word synlig så der kan skrives i kontinuationen
    Wdapp.Visible = True

    'Og frigiver lidt hukommelse når Word lukkes
    Set Wdapp = Nothing
   
End Sub
----------------------------
Avatar billede steensommer Praktikant
20. december 2003 - 21:10 #4
Den skal da prøves når børnene er lagt i seng :0)
Avatar billede steensommer Praktikant
20. december 2003 - 21:43 #5
-->blackadder Ovenstående kode tager vel ikke højde for at der er væsentlig flere bookmarks?
Avatar billede Slettet bruger
20. december 2003 - 21:54 #6
Den går ud fra at der er en skabelon (.dot) der indeholder 6 bookmarks: hcv, cpr, FNavn, ENavn, Adr og PostBy.

For hver ikke-tom linie i Excel arket bliver der oprettet et nyt dokument (med 6 bookmarks), som fyldes med data, gemmes og lukkes.
Avatar billede steensommer Praktikant
20. december 2003 - 21:59 #7
Jeg skal i løbet af aftenen / natten prøve at tilvirke den min projektmappe - Lige et par kommentarer:

Skabelonen der anvendes fremgår af vba fra første indlæg og den indeholder alle de bookmarks der fremgår deraf (bookmarks kan jo desværre kun anvendes én gang). Det er ikke nødvendigt at gemme dokumentet - det skal blot udprintes (og helst uden at se word poppe up).
Avatar billede Slettet bruger
20. december 2003 - 22:10 #8
Jeg skal lige se om jeg har forstået :-)

1. Dit nuværende dokument indeholder 55-60 labels
2. Der skal f.eks. indsættes 60 efternavne, men kun 5 adresser ?
3. Der skal altid printes samme antal labels ?
4. Min løsning er baseret på én skabelon der indeholder 1 label og printes
  X antal gange.
  Dit dokument er én skabelon der printes 1 gang og indeholder 55-60 labels.
Avatar billede steensommer Praktikant
20. december 2003 - 22:14 #9
Ja stort set rigtigt:
13 labels nedaf 5 heraf ialt 65 (hvoraf 12. række kun indeholder uvedkommende data) = 60 labels. Der er kun 5 med adressefelter anbragt i nederste (13.række) = 5 labels.
Avatar billede Slettet bruger
20. december 2003 - 22:20 #10
Ok, så er jeg vistnok med.

Dvs. der printes 60 labels med samme patientdata.
Dvs. ét sæt labels (60 styk) pr. linie i Excel arket. ?
Avatar billede Slettet bruger
20. december 2003 - 23:25 #11
Hvis det er tilfældet, skal du nok bruge denne her istedet for.

--------------------------------
Sub StartLabels()

'Vi erklærer lige nogen variable
    Dim Wdapp As Word.Application
    Dim HCV As String
    Dim CPR As String
    Dim FNavn As String
    Dim ENavn As String
    Dim Adr As String
    Dim PostBy As String

    Dim startRow As Integer
    Dim rowCounter As Integer
    Dim i As Integer
       
    ' Husk at sætte en reference til Word Objektet i menuen Tools -> References
    Dim WDoc As Word.Document
    Dim gemmeSti As String
    Dim filNavn As String
    Dim bm As String
   
    gemmeSti = "F:\"
    filNavn = "test.dot"
   
    startRow = 70
    rowCounter = startRow
       
    'Undersøger om Word er startet
    On Error Resume Next
    Set Wdapp = GetObject(, "Word.application")
    If Err.Number <> 0 Then
        'Ellers starter vi word
        Set Wdapp = CreateObject("Word.Application")
        Wdapp.Visible = True
    End If

    HCV = ActiveSheet.Cells(rowCounter, 9)
    Do
        'Læs en række
        With ActiveSheet
            HCV = .Cells(rowCounter, 9)
            FNavn = .Cells(rowCounter, 2)
            ENavn = .Cells(rowCounter, 5)
            CPR = .Cells(rowCounter, 7)
            Adr = .Cells(rowCounter, 27)
            PostBy = .Cells(rowCounter, 29)
        End With
        rowCounter = rowCounter + 1
       
        'Opret et nyt Word dokument baseret på skabelonen
        Wdapp.Documents.Add Template:=gemmeSti & filNavn, NewTemplate:=False, DocumentType:=0
               
        With Wdapp.ActiveDocument
            'Indsæt data i dokumentets bookmarks
            For i = 1 To 55
                .bookmarks("Cpr" & i).Range.Text = CPR
                .bookmarks("Hcv" & i).Range.Text = HCV
            Next i
           
            For i = 1 To 60
                .bookmarks("FNavn" & i).Range.Text = FNavn
                .bookmarks("ENavn" & i).Range.Text = ENavn
            Next i
           
            For i = 1 To 5
                .bookmarks("Adr" & i).Range.Text = Adr
                .bookmarks("PostBy" & i).Range.Text = PostBy
            Next i
        End With
       
        With Wdapp
            .PrintOut
            .ActiveDocument.Close False
        End With
   
    HCV = ActiveSheet.Cells(rowCounter, 9)
    Loop While HCV <> ""

    'Og frigiver lidt hukommelse når Word lukkes
    Set Wdapp = Nothing
   
End Sub
------------------------------------------
Avatar billede Slettet bruger
20. december 2003 - 23:27 #12
...Den printer et ark med 60 labels, for hver linie patientdata i Excelarket.
Avatar billede steensommer Praktikant
20. december 2003 - 23:47 #13
Den udprinter ark med 65 labels (med mindre ændringer).
Jeg synes at det er en flot gang programmering du har lavet og det fungerer godt. Kan du også undgå at word popper up og at word lukkes automatisk - så er den ved at være der ;0)
Avatar billede Slettet bruger
21. december 2003 - 00:58 #14
Du skal ændre

Wdapp.Visible = True
til
Wdapp.Visible = False

og indsætte

Application.Quit
efter
Set Wdapp = Nothing
Avatar billede Slettet bruger
21. december 2003 - 01:01 #15
Du får lige det hele igen, med rettelser

---------------------

Sub StartLabels()

'Vi erklærer lige nogen variable
    Dim Wdapp As Word.Application
    Dim HCV As String
    Dim CPR As String
    Dim FNavn As String
    Dim ENavn As String
    Dim Adr As String
    Dim PostBy As String

    Dim startRow As Integer
    Dim rowCounter As Integer
    Dim i As Integer
       
    ' Husk at sætte en reference til Word Objektet i menuen Tools -> References
    Dim WDoc As Word.Document
    Dim gemmeSti As String
    Dim filNavn As String
    Dim bm As String
   
    gemmeSti = "F:\"
    filNavn = "test.dot"
   
    startRow = 70
    rowCounter = startRow
       
    'Undersøger om Word er startet
    On Error Resume Next
    Set Wdapp = GetObject(, "Word.application")
    If Err.Number <> 0 Then
        'Ellers starter vi word
        Set Wdapp = CreateObject("Word.Application")
        Wdapp.Visible = False
    End If

    HCV = ActiveSheet.Cells(rowCounter, 9)
    Do
        'Læs en række
        With ActiveSheet
            HCV = .Cells(rowCounter, 9)
            FNavn = .Cells(rowCounter, 2)
            ENavn = .Cells(rowCounter, 5)
            CPR = .Cells(rowCounter, 7)
            Adr = .Cells(rowCounter, 27)
            PostBy = .Cells(rowCounter, 29)
        End With
        rowCounter = rowCounter + 1
       
        'Opret et nyt Word dokument baseret på skabelonen
        Wdapp.Documents.Add Template:=gemmeSti & filNavn, NewTemplate:=False, DocumentType:=0
               
        With Wdapp.ActiveDocument
            'Indsæt data i dokumentets bookmarks
            For i = 1 To 55
                .bookmarks("Cpr" & i).Range.Text = CPR
                .bookmarks("Hcv" & i).Range.Text = HCV
            Next i
           
            For i = 1 To 60
                .bookmarks("FNavn" & i).Range.Text = FNavn
                .bookmarks("ENavn" & i).Range.Text = ENavn
            Next i
           
            For i = 1 To 5
                .bookmarks("Adr" & i).Range.Text = Adr
                .bookmarks("PostBy" & i).Range.Text = PostBy
            Next i
        End With
       
        With Wdapp
            .PrintOut
            .ActiveDocument.Close False
            .Quit
        End With
   
    HCV = ActiveSheet.Cells(rowCounter, 9)
    Loop While HCV <> ""

    'Og frigiver lidt hukommelse når Word lukkes
    Set Wdapp = Nothing
   
End Sub

---------------------
Avatar billede Slettet bruger
21. december 2003 - 01:04 #16
Den eneste gang du kan risikere at se Word "poppe op" er hvis Word kører i forvejen. Det er dog nok bedst at sørge for at Word ikke kører, da det ellers kan konflikte med dokumenter som du tilfældigvis måtte have åben i forvejen.
Avatar billede steensommer Praktikant
21. december 2003 - 01:07 #17
Jeg påtænkte at indsætte nedenstående kode men ville gerne om der stod hvor mange dokumenter brugeren har valgt at udprinte (for at forhindre et større antal ved fejltryk) - kan du ændre den?
    Dim Msg, Style, Title, Ctxt, Response, MyString
    Msg = "Ønsker du at printe labels på X antal patienter?"    ' Define message.
    Style = vbYesNo + vbDefaultButton2    ' Define buttons.
    Title = "Meddelelsesbox"    ' Define title.
    Response = MsgBox(Msg, Style, Title, Help, Ctxt)
    If Response = vbYes Then
Avatar billede Slettet bruger
21. december 2003 - 01:08 #18
Den burde muligvis bruge FNavn eller ENavn i løkken, da den ellers ville stoppe i utide. Der er jo 60 navne og kun 55 HCV numre.
Avatar billede steensommer Praktikant
21. december 2003 - 01:10 #19
Nej der er samme antal antal numre i det område den henter data fra - så det fungerer fint
Avatar billede steensommer Praktikant
21. december 2003 - 01:12 #20
Den har iøvrigt et andet irriterende problem. Word fremkommer med en advarsel om at printerområdet er uden for printerens margin - kan det undgåes - jeg har forsøgt Application.displayAlert uden held.
Avatar billede steensommer Praktikant
21. december 2003 - 01:16 #21
Den skriver: You Cannot close Microsoft Word because dialog is active
Avatar billede Slettet bruger
21. december 2003 - 01:17 #22
Meddelelsesboxen kræver at man laver en optælling  af rækkerne inden udskrivningen sættes igang. Skal brugeren markere rækkerne i Excel arket inden der printes, eller skal den bare selv stoppe nå den løber tør for rækker ?

Den antager at data starter fra og med række 70.

Grunden til at jeg spurgte om FNavn i løkken er at den kan risikere at stoppe hvis f.eks. HCV er tom selvom der er data i FNavn.
Avatar billede steensommer Praktikant
21. december 2003 - 01:19 #23
Det kan med garanti ikke ske - den får sine data fra en database og der er præcist lige mange hcv og navne.
Nej jeg ønsker ikke at brugerne skal markere rækkerne (faktisk er de uden for synsfeltet). Men jeg vil gerne forhindre at man ved en fejltastning kommer til at printe et større antal (det gjorde jeg selv ved en fejl)
Avatar billede Slettet bruger
21. december 2003 - 01:33 #24
Ok, prøv med denne her.
-----------

Sub StartLabels()

'Vi erklærer lige nogen variable
    Dim Wdapp As Word.Application
    Dim HCV As String
    Dim CPR As String
    Dim FNavn As String
    Dim ENavn As String
    Dim Adr As String
    Dim PostBy As String

    Dim startRow As Integer
    Dim rowCounter As Integer
    Dim maxRows As Integer
    Dim i As Integer
       
    ' Husk at sætte en reference til Word Objektet i menuen Tools -> References
    Dim WDoc As Word.Document
    Dim gemmeSti As String
    Dim filNavn As String
    Dim bm As String
   
    gemmeSti = "F:\"
    filNavn = "test.dot"
   
    startRow = 70
    rowCounter = startRow
       
    maxRows = 0
    HCV = ActiveSheet.Cells(rowCounter, 9)
    While HCV <> ""
        maxRows = maxRows + 1
        rowCounter = rowCounter + 1
        HCV = ActiveSheet.Cells(rowCounter, 9)
    Wend
   
    If confirm(maxRows) Then
    'Start udskrivning
       
        'Undersøger om Word er startet
        On Error Resume Next
        Set Wdapp = GetObject(, "Word.application")
        If Err.Number <> 0 Then
            'Ellers starter vi word
            Set Wdapp = CreateObject("Word.Application")
            Wdapp.Visible = False
        End If
   
        HCV = ActiveSheet.Cells(rowCounter, 9)
        Do
            'Læs en række
            With ActiveSheet
                HCV = .Cells(rowCounter, 9)
                FNavn = .Cells(rowCounter, 2)
                ENavn = .Cells(rowCounter, 5)
                CPR = .Cells(rowCounter, 7)
                Adr = .Cells(rowCounter, 27)
                PostBy = .Cells(rowCounter, 29)
            End With
            rowCounter = rowCounter + 1
           
            'Opret et nyt Word dokument baseret på skabelonen
            Wdapp.Documents.Add Template:=gemmeSti & filNavn, NewTemplate:=False, DocumentType:=0
                   
            With Wdapp.ActiveDocument
                'Indsæt data i dokumentets bookmarks
                For i = 1 To 55
                    .bookmarks("Cpr" & i).Range.Text = CPR
                    .bookmarks("Hcv" & i).Range.Text = HCV
                Next i
               
                For i = 1 To 60
                    .bookmarks("FNavn" & i).Range.Text = FNavn
                    .bookmarks("ENavn" & i).Range.Text = ENavn
                Next i
               
                For i = 1 To 5
                    .bookmarks("Adr" & i).Range.Text = Adr
                    .bookmarks("PostBy" & i).Range.Text = PostBy
                Next i
            End With
           
            With Wdapp
                .PrintOut
                .ActiveDocument.Close False
                .Quit
            End With
       
        HCV = ActiveSheet.Cells(rowCounter, 9)
        Loop While HCV <> ""
   
   
    Else
        'Brugeren vil ikke udskrive rækkerne
        GoTo LukOgSluk
    End If

LukOgSluk:
    'Og frigiver lidt hukommelse når Word lukkes
    Set Wdapp = Nothing
   
End Sub


Function confirm(antal As Integer) As Boolean
    Msg = "Ønsker du at printe labels på " & antal & " antal patienter?"    ' Define message.
    Style = vbYesNo + vbDefaultButton2    ' Define buttons.
    Title = "Bekræft udskrivning af labels"    ' Define title.
    Response = MsgBox(Msg, Style, Title)
   
    If Response = vbYes Then
        confirm = True
    Else
        confirm = False
    End If
End Function

-------------
Avatar billede Slettet bruger
21. december 2003 - 01:43 #25
Har lige opdaget en fejl...

.Quit skal fjernes fra

With Wdapp
  .PrintOut
  .ActiveDocument.Close False
  .Quit
End With

og indsættes her..

LukOgSluk:
    'Og frigiver lidt hukommelse når Word lukkes
    Wdapp.Quit
    Set Wdapp = Nothing
Avatar billede Slettet bruger
21. december 2003 - 01:48 #26
Prøv at indsætte:

Wdapp.DisplayAlerts = wdAlertsNone
i starten

og

Wdapp.DisplayAlerts = wdAlertsAll

i LukOgSluk sektionen.

Det kan muligvis afhjælpe fejlbeskeden.
Avatar billede steensommer Praktikant
21. december 2003 - 01:48 #27
Den må ha' en anden fejl:

Den giver sig aldrig til at printe. I stedet viser den en dialog-box? med meddelelsen: Please wait while Word finishes all pending print jobs (med mulighed for cancel)
Avatar billede Slettet bruger
21. december 2003 - 01:54 #28
Prøv at tilføje:
Background:=True

efter

PrintOut
Avatar billede Slettet bruger
21. december 2003 - 01:55 #29
Du får lige en kodeopdatering

---------------------

Sub StartLabels()

'Vi erklærer lige nogen variable
    Dim Wdapp As Word.Application
    Dim HCV As String
    Dim CPR As String
    Dim FNavn As String
    Dim ENavn As String
    Dim Adr As String
    Dim PostBy As String

    Dim startRow As Integer
    Dim rowCounter As Integer
    Dim maxRows As Integer
    Dim i As Integer
       
    ' Husk at sætte en reference til Word Objektet i menuen Tools -> References
    Dim WDoc As Word.Document
    Dim gemmeSti As String
    Dim filNavn As String
    Dim bm As String
   
    gemmeSti = "F:\"
    filNavn = "test.dot"
   
    startRow = 70
    rowCounter = startRow
       
    maxRows = 0
    HCV = ActiveSheet.Cells(rowCounter, 9)
    While HCV <> ""
        maxRows = maxRows + 1
        rowCounter = rowCounter + 1
        HCV = ActiveSheet.Cells(rowCounter, 9)
    Wend
   
    If confirm(maxRows) Then
    'Start udskrivning
       
        'Undersøger om Word er startet
        On Error Resume Next
        Set Wdapp = GetObject(, "Word.application")
        If Err.Number <> 0 Then
            'Ellers starter vi word
            Set Wdapp = CreateObject("Word.Application")
            Wdapp.Visible = False
        End If
       
        Wdapp.DisplayAlerts = wdAlertsNone
   
        HCV = ActiveSheet.Cells(rowCounter, 9)
        Do
            'Læs en række
            With ActiveSheet
                HCV = .Cells(rowCounter, 9)
                FNavn = .Cells(rowCounter, 2)
                ENavn = .Cells(rowCounter, 5)
                CPR = .Cells(rowCounter, 7)
                Adr = .Cells(rowCounter, 27)
                PostBy = .Cells(rowCounter, 29)
            End With
            rowCounter = rowCounter + 1
           
            'Opret et nyt Word dokument baseret på skabelonen
            Wdapp.Documents.Add Template:=gemmeSti & filNavn, NewTemplate:=False, DocumentType:=0
                   
            With Wdapp.ActiveDocument
                'Indsæt data i dokumentets bookmarks
                For i = 1 To 55
                    .bookmarks("Cpr" & i).Range.Text = CPR
                    .bookmarks("Hcv" & i).Range.Text = HCV
                Next i
               
                For i = 1 To 60
                    .bookmarks("FNavn" & i).Range.Text = FNavn
                    .bookmarks("ENavn" & i).Range.Text = ENavn
                Next i
               
                For i = 1 To 5
                    .bookmarks("Adr" & i).Range.Text = Adr
                    .bookmarks("PostBy" & i).Range.Text = PostBy
                Next i
            End With
           
            With Wdapp
                .PrintOut Background:=True
                .ActiveDocument.Close False
            End With
       
        HCV = ActiveSheet.Cells(rowCounter, 9)
        Loop While HCV <> ""
   
   
    Else
        'Brugeren vil ikke udskrive rækkerne
        GoTo LukOgSluk
    End If

LukOgSluk:
    'Og frigiver lidt hukommelse når Word lukkes
    Wdapp.Quit
    Set Wdapp = Nothing
    Wdapp.DisplayAlerts = wdAlertsAll
End Sub

---------------------------
Avatar billede steensommer Praktikant
21. december 2003 - 01:59 #30
Nu kommer der faktisk kun en tom skabelon (selvom den burde udprinte 3 patienter) :0(
Avatar billede Slettet bruger
21. december 2003 - 02:01 #31
Har du rettet sti-navnet ?
Avatar billede steensommer Praktikant
21. december 2003 - 02:03 #32
Yes og bookmarks ved adr: 56 - 60
Avatar billede Slettet bruger
21. december 2003 - 02:11 #33
Duh! Fandt den !

Indsæt:
rowCounter = startRow

Umiddelbart før:
HCV = ActiveSheet.Cells(rowCounter, 9)
Do
  'Læs en række
Avatar billede Slettet bruger
21. december 2003 - 02:12 #34
Så kan man lære at genbruge tællervariable...  :-)
Avatar billede steensommer Praktikant
21. december 2003 - 02:21 #35
Nu ser det bare kanongodt ud - desværre fortsat med det med printermargin (x 1 pr patient). Jeg har også prøvet at indsætte application.displayalert i worddokumentet uden resultat.
Nu skal vi jo ikke glemme point - dem har du da slidt for :0)
Avatar billede Slettet bruger
21. december 2003 - 02:33 #36
Der er forskel på
Application.DisplayAlerts = False

...som refererer til Excel programmet og

Wdapp.DisplayAlerts = wdAlertsNone

...som refererer til Word programmet.

Mht. printermargin kan du prøve (Husk at gemme en kopi af dokumentet inden du ændrer noget) at sætte skabelonens marginer til 0.

Eller du kan prøve at tilføje:
ActiveDocument.FitToPages

således...

With Wdapp
  .ActiveDocument.FitToPages
  .PrintOut Background:=True
  .ActiveDocument.Close False
End With

Begge forslag er dog uden garanti, da jeg ikke selv har brugt funktionerne før.
Avatar billede steensommer Praktikant
21. december 2003 - 02:42 #37
Hmm - det med FittoPages fungerede tilsyneladende - så er det blot at håbe at teksten havner inden for labels rammer (jeg har desværre ingen herhjemme).
Tusinde tak for hjælpen - den har været forrygende.
Kan du ha' en rigtig god jul :0)
Avatar billede Slettet bruger
21. december 2003 - 02:45 #38
Tak for point, god jul og godnat :-)
Avatar billede Ny bruger Nybegynder

Din løsning...

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.

Loading billede Opret Preview
Kategori
Excel kurser for alle niveauer og behov – find det kursus, der passer til dig

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester