?
2010-03-24 09:30:55 UTC
I can perhaps add "previous" and "next record" buttons, OR they can select the record on the sheet, & the form appears populated with that record info for them to edit? Is that possible? How on earth would I code that?
The most records / rows they'd enter would be about 5 ... 10 max but extremely unlikely.
I have it like this for entry:
'assign obj names
Dim iRow as Long
Dim ws as Worksheet
Set ws = Worksheets ("DBase")
'find first empty row
iRow = ws.Cells (rows.Count, 1) _
.End (x1up).offset(1, 0).Row
'populate cells with field values
ws.cells(iRow, 1).Value = Me.cmbName.Value
ws.cells(iRow, 2).Value = me.txtEmail.Value
'clear data upon record entry
Me.cmbName.Value= ""
Me.txtEmail.value = ""
End Sub
and that works perfect, but how do i get the spreadsheet record info to populate the field so they can edit within the field and not mess around with my beautiful spreadsheet? lol. Because it's going to be on LOCK down, the most they'll be able to do is See the Record pop up when they hit the Add button.
there are exactly 28 fields for entry