Can you post the code you're using
The VBA Code for the worksheet looks like this:
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Target.Address Like "$N*" Then
currRow = Target.Cells(1, 1).row
Set currSheet = Target.Worksheet
Load frmEditEntry
frmEditEntry.Show
End If
End Sub
-----------------------------------------------------------------
The VBA to shoot the form information into the appropriate worksheet and cells looks like this:
Private Sub cmdSubmitEdit_Click()
Dim RowCount As Long
Dim ctl As Control
If Me.cboNameEdit.Value = "" Then
MsgBox "Please enter your name in the appropriate dropdown box.", vbExclamation, "EditEntryForm"
Exit Sub
End If
RowCount = Worksheets("Existing Risk Changes").Range("A15").CurrentRegion.Rows.Count
With Worksheets("Existing Risk Changes").Range("A15")
.Offset(RowCount, 0).Value = Me.txtRiskIDEdit
.Offset(RowCount, 1).Value = Me.cboRiskCategoryEdit
.Offset(RowCount, 2).Value = Me.cboMissionObjectiveEdit
.Offset(RowCount, 3).Value = Me.txtRiskDescriptionEdit
.Offset(RowCount, 4).Value = Me.cboFrequencyEdit
.Offset(RowCount, 5).Value = Me.cboConsequenceEdit
.Offset(RowCount, 8).Value = Me.txtExistingMitigationEdit
.Offset(RowCount, 9).Value = Me.cboeffectivenessedit
.Offset(RowCount, 11).Value = Me.txtFurtherActionsCommentsEdit
.Offset(RowCount, 13).Value = Me.cboNameEdit
.Offset(RowCount, 15).Value = Format(Now, "dd/mm/yyyy hh:nn:ss")
.Offset(RowCount, 14).Value = UserName()
End With
Dim LResponse As Integer
LResponse = MsgBox("The information you entered was submitted. Thank you.", vbOKOnly)
If LResponse = vbOK Then
Unload Me
End If
For Each ctl In Me.Controls
If TypeName(ctl) = "TextBox" Or TypeName(ctl) = "ComboBox" Then
ctl.Value = ""
ElseIf TypeName(ctl) = "CheckBox" Then
ctl.Value = False
End If
Next ctl
End Sub
Thanks for the help Tweedle