Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
i cant format textbox as number!
file is simple i want to sort the data given particular criteria from start menu i choose top than i choose greater than then to the text box i write 4 but the code recognize the 4 as "4" (text) so hide all the rows (but i want hide the row if it is less than 4, or show if it is 4 or above) please hlp i am not going any further! +-------------------------------------------------------------------+ |Filename: dnm.zip | |Download: http://www.excelforum.com/attachment.php?postid=3612 | +-------------------------------------------------------------------+ -- barkiny ------------------------------------------------------------------------ barkiny's Profile: http://www.excelforum.com/member.php...o&userid=20397 View this thread: http://www.excelforum.com/showthread...hreadid=389184 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
i cant format textbox as number!
Hi,
This works for me: If Cells(b, kolonsayisi).Value <= CInt(UserForm1.TextBox1.Value) Then Rows(b).EntireRow.Hidden = True HTH "barkiny" wrote: file is simple i want to sort the data given particular criteria from start menu i choose top than i choose greater than then to the text box i write 4 but the code recognize the 4 as "4" (text) so hide all the rows (but i want hide the row if it is less than 4, or show if it is 4 or above) please hlp i am not going any further! +-------------------------------------------------------------------+ |Filename: dnm.zip | |Download: http://www.excelforum.com/attachment.php?postid=3612 | +-------------------------------------------------------------------+ -- barkiny ------------------------------------------------------------------------ barkiny's Profile: http://www.excelforum.com/member.php...o&userid=20397 View this thread: http://www.excelforum.com/showthread...hreadid=389184 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Number format TextBox? | Excel Discussion (Misc queries) | |||
TextBox Format | Excel Discussion (Misc queries) | |||
Textbox Format | Excel Programming | |||
Format A TextBox For A Phone Number | Excel Programming | |||
Format Textbox as % | Excel Programming |