littlepete
Well-known Member
- Joined
- Mar 26, 2015
- Messages
- 507
- Office Version
- 365
- Platform
- Windows
hello...
let me apologise first for not having a good day... too many things just do not work...
i'm working on an inputbox to fill in new data in an empty new row below the last used one.
but the simplest range this column and row 4 does not work !
i must honestly say that google is really not helping with all the fake besides the question and nothing less then really wrong answers...
so this is what i have (problem in bold) :
english: dezerij=thisrow ; dezekolom=this column ; nieuwerij = new row
hopeful...
let me apologise first for not having a good day... too many things just do not work...
i'm working on an inputbox to fill in new data in an empty new row below the last used one.
but the simplest range this column and row 4 does not work !
i must honestly say that google is really not helping with all the fake besides the question and nothing less then really wrong answers...
so this is what i have (problem in bold) :
VBA Code:
dezerij = 4
dezekolom = 11
For dezekolom = 11 To 51
keuze = InputBox(Chr(10) & _
"Deze lijst bevat " & aantalcontacten & " contacten." & Chr(10) & Chr(10) & _
[B] Range(CStr(dezekolom) & "4").Value & " invullen: ... " & _[/B]
Chr(10) & Chr(10) & _
"tik hier de nieuwe data in.", "NIEUWE GEGEVENS", 10000, 5000)
Select Case keuze
Case Len(keuze) = 0
GoTo volgende
Case 0
tooneersterij
End Select
With Worksheets("gegevens")
[B]Cells(nieuwerij, dezekolom).Value = keuze[/B]
End With
MsgBox dezekolom & " - " & dezerij & " en " & Range("k4").Value & " + " & nieuwerij
volgende:
dezekolom = dezekolom + 1
Next dezekolom
english: dezerij=thisrow ; dezekolom=this column ; nieuwerij = new row
hopeful...