Can anyone help me how to do this:
I want the user to just click a button, a inputbox pops up asking for: "Enter the first SerialNo"-----ENTER
A new Inputbox pops up asking: "Enter the last SerialNo"-----ENTER.
Then it filter (Between First and Last value).
I had an Idea:
*****************************************************
Private Sub Commandbutton4_Click()
Dim First
Dim Last
First = InputBox("Enter the first SerialNo"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Last = InputBox("Enter the last SerialNo"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Me.Filter = Between "First" and "Last"
Me.FilterOn = True
End Sub
******************************************************
This code does not work, but how can I make it ??
Please help it´s urgent.
//Magnus
I want the user to just click a button, a inputbox pops up asking for: "Enter the first SerialNo"-----ENTER
A new Inputbox pops up asking: "Enter the last SerialNo"-----ENTER.
Then it filter (Between First and Last value).
I had an Idea:
*****************************************************
Private Sub Commandbutton4_Click()
Dim First
Dim Last
First = InputBox("Enter the first SerialNo"
Last = InputBox("Enter the last SerialNo"
Me.Filter = Between "First" and "Last"
Me.FilterOn = True
End Sub
******************************************************
This code does not work, but how can I make it ??
Please help it´s urgent.
//Magnus