Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello and Thank You For Any Help
I have created a Excel Ms Query and have created a User form to limit between Values of DTPicker1 And DTPicker2. I thought this would work. Any Suggestions Please Help Sub SetFilter() With UserForm1 Worksheets("Sheet1").Range("A5").AutoFilter _ Field:=1, _ Criteria1:="=" & .DTPicker1.Value, _ Operator:=xlAnd, _ Criteria2:="<=" & .DTPicker2.Value End With End Sub |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Mike
Check this site for further explanantion http://www.dailydoseofexcel.com/arch...-data-queries/ Hope this helps MarMo "Mike" wrote in message ... Hello and Thank You For Any Help I have created a Excel Ms Query and have created a User form to limit between Values of DTPicker1 And DTPicker2. I thought this would work. Any Suggestions Please Help Sub SetFilter() With UserForm1 Worksheets("Sheet1").Range("A5").AutoFilter _ Field:=1, _ Criteria1:="=" & .DTPicker1.Value, _ Operator:=xlAnd, _ Criteria2:="<=" & .DTPicker2.Value End With End Sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
split post code (zip code) out of cell that includes full address | Excel Discussion (Misc queries) | |||
Drop Down/List w/Code and Definition, only code entered when selec | Excel Worksheet Functions | |||
Protect Sheet with code, but then code will not Paste error. How do i get around this. Please read for explainations.... | Excel Programming | |||
How to assign same code inside Option button code space ?? | Excel Programming | |||
Excel code convert to Access code - Concat & eliminate duplicates | Excel Programming |