Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to populate an MSForms.ReturnInteger value
I want to call
Private Sub txtFileID_KeyDown(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer) from a separate routine, something like ... Private Sub cmdClear_Click() Dim KeyCode As MSForms.ReturnInteger Set KeyCode = 107 '+ KeyDown txtFileID_KeyDown KeyCode, 0 End Sub But am having trouble assigning a value to KeyCode. I tried KeyCode = 107 and Set Keycode = 107 but the object objects. How do I do this task? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
WithEvents of MSForms.Textbox | Excel Programming | |||
MsForms.Control Event Class | Excel Programming | |||
Qualifying OptionButton with ro without MSForms | Excel Programming | |||
Missing Nav Links in VBA & MSFORMS Help | Excel Programming | |||
MSForms cancel | Excel Programming |