Hallo allemaal,
Bedankt voor de reacties, het probleem is inmiddels verholpen door de ActiveCell.Value te delen door 1.
Geen idee waarom dit werkt, maar het werkt.
De complete staat hieronder.
Deze zal vast eenvoudiger kunnen, maar zover gaat mijn kennis niet, dit is m'n eerste vba om eerlijk te zijn.
Iedereen bedankt voor de input.
Private Sub CommandButton1_Click()
Dim SmaakNaam As String
Dim ingredient1 As String, gram1 As Integer
Dim ingredient2 As String, gram2 As Integer
Dim ingredient3 As String, gram3 As Integer
Dim ingredient4 As String, gram4 As Integer
Dim ingredient5 As String, gram5 As Integer
Dim ingredient6 As String, gram6 As Integer
Dim ingredient7 As String, gram7 As Integer
Dim ingredient8 As String, gram8 As Integer
Dim ingredient9 As String, gram9 As Integer
Dim ingredient10 As String, gram10 As Integer
Dim ingredient11 As String, gram11 As Integer
Dim ingredient12 As String, gram12 As Integer
Dim GramTotaal As String
Dim EuroTotaal As String
Dim EuroBol As String
Worksheets("melk").Select
SmaakNaam = Range("B21")
ingredient1 = Range("B24")
gram1 = Range("E24")
ingredient2 = Range("B25")
gram2 = Range("E25")
ingredient3 = Range("B26")
gram3 = Range("E26")
ingredient4 = Range("B27")
gram4 = Range("E27")
ingredient5 = Range("B28")
gram5 = Range("E28")
ingredient6 = Range("B29")
gram6 = Range("E29")
ingredient7 = Range("B30")
gram7 = Range("E30")
ingredient8 = Range("B31")
gram8 = Range("E31")
ingredient9 = Range("B32")
gram9 = Range("E32")
ingredient10 = Range("B33")
gram10 = Range("E33")
ingredient11 = Range("B34")
gram11 = Range("E34")
ingredient12 = Range("B35")
gram12 = Range("E35")
GramTotaal = Range("E37")
EuroTotaal = Range("AC37")
EuroBol = Range("AC39")
Worksheets("recepten").Select
Worksheets("recepten").Range("A1").Select
If Worksheets("recepten").Range("A1").Offset(1, 0) <> "" Then
Worksheets("recepten").Range("A1").End(xlDown).Select
End If
ActiveCell.Offset(1, 0).Select
ActiveCell.Value = SmaakNaam
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = ingredient1
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = gram1
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = ingredient2
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = gram2
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = ingredient3
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = gram3
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = ingredient4
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = gram4
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = ingredient5
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = gram5
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = ingredient6
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = gram6
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = ingredient7
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = gram7
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = ingredient8
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = gram8
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = ingredient9
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = gram9
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = ingredient10
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = gram10
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = ingredient11
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = gram11
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = ingredient12
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = gram12
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = GramTotaal
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = EuroTotaal / 1
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = EuroBol / 1
ActiveCell.Offset(0, 1).Select
Worksheets("melk").Select
Worksheets("melk").Range("B21").Select
End Sub