Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 179
Default autofilter...

Jim

1) Try using the Text property of the range to populate the combobox
instead of the Value property. For a cell with 2.0 in it

Text = 2.0
Value = 2

Remember that entries in a combobox are text regardless of what they are on
the spreadsheet.

2) I don't know, but I seriously doubt it. I think you'll have to roll
your own here.

--
Dick Kusleika
MVP - Excel
www.dicks-clicks.com
Post all replies to the newsgroup.

"jim c." wrote in message
...
i have a list box on a userform whose rowsource is a range
on sheet1. i use comboboxes on a different userform(2)
with code to add unique items from each column to each
combobox.(basically just recreating autofilter on a
userform) my problem is if range is formatted as number
with 1 decimal place, and that number happens to be **.0
then only the whole number is added to the combobox and
the filter code will fail because it is looking for say 2
as opposed to 2.0. question 2 would be if on the
worksheet i select a range and apply autofilter i get the
drop down arrows. one of the criteria is custom. is there
a way i can use that "custom" dialog box as opposed to
trying to write code to do same thing? thanks people...



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
excel 2007 autofilter change to 2003 autofilter functionality? jonnybrovo815 Excel Discussion (Misc queries) 1 April 19th 10 10:05 PM
2007 excel autofilter back to 2003 autofilter? jonnybrovo815 Excel Discussion (Misc queries) 3 April 19th 10 08:11 PM
2007 excel autofilter change back to 2003 autofilter? jonnybrovo815 Excel Discussion (Misc queries) 1 April 19th 10 05:53 PM
2007 Autofilter worse than 2003 Autofilter jsky Excel Discussion (Misc queries) 9 October 31st 07 12:14 AM
How to Sort within AutoFilter with Protection on (and AutoFilter . giblon Excel Discussion (Misc queries) 1 February 16th 06 12:23 PM


All times are GMT +1. The time now is 08:42 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"