Code: Select all
Sub Afdrukken
Dim oVoorraadstickers as Object
Dim oInvullen_blad as Object
Dim oS1_artnum_cel as Object
Dim oS1artnum_tkst as Object
oVoorraadstickers = thisComponent
oInvullen_blad = oVoorraadstickers.Sheets.getByName ("Invullen")
oS1artnum_tkst = oInvoer_scherm.getControl("S1artnum_tkst")
oS1artnum_cel = oInvullen_blad.getCellRangeByName("S1_artnum")
oS1artnum_cel.Text( ,0) = oS1artnum_tkst.Text( ,0)
End Sub