Home |
Search |
Today's Posts |
#33
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In a private email...
First, I'm not sure if you saw this, but I removed the reference to the web component stuff. I don't have that installed and it was causing compile errors for me. Second, I'm not sure if I told you (sorry), but I converted those years in the inventory worksheet to real numbers (from text). When I did that with your newest workbook, it worked fine. You have some bad values in the inventory sheet, too. One way to fix these problems... Select an empty cell Edit|copy Select column C and E on the Inventory sheet Edit|paste special|check Add and values (with that worksheet unprotected) You should see excel's error checking warning (top left corner of the offending cell) go away -- well, if you have it turned on. And you may want to change your Workbook_open procedure. --elizabeth wrote: Dave, I copied/pasted all the code from the test file over to my "real" file. If I search on Maker, MinVal and MaxVal criteria --i.e., Baldo Baldi, 200, 600--the results are displayed. However, if I search on Maker, MinYear and MaxYear criteria--i.e., Baldo Baldi, 1920, 1940--no results are displayed. The code works fine for both MinVal/MaxVal and MinYear/MaxYear in your test file, but not in mine. I've tried to discover why on my own, unsuccessfully. The Search Criteria and Extract Results sheets are created programmatically, so I don't see how that could be the problem. The MinYear/MaxYear values are written to the Search Criteria sheet the same as the MinVal/MaxVal values. I'm stumped. May I please have the benefit of your knowledge and experience again? I uploaded the file and it's good for three days. I'm going to be at my MIL's in the country and the internet there is dial-up, so I may not have access until I return on Monday. So if you get this before then and have time to address it, and I don't get back to you in a timely fasion, that's why. http://senduit.com/94d368 Thanks, --elizabeth -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Adv filter fails in macro, works fine manually | Excel Programming | |||
Auto filter run from a macro will not do the same as when done manually. | Excel Discussion (Misc queries) | |||
Auto filter run from a macro will not do the same as when done manually. | Excel Discussion (Misc queries) | |||
Macro works fine on PC; fails on Mac | Excel Programming | |||
pivot table - works manually not by macro | Excel Programming |