How can I convert the following sheet code to the workbook module?
Code: Select all
Private Sub ComboBox1_Click()
Me.ComboBox1.Value = Format(Me.ComboBox1.Value, "dd mmmm yyyy")
End Sub
Code: Select all
Sub ComboBox1_Click()
Sheets("Cash Report").ComboBox1.Value = Format(Sheets("Cash Report").ComboBox1.Value, "dd mmmm yyyy")
End Sub