LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default inputbox help


Hi,

Look at the attached screenshot.
Can you show me the inputbox code that:

a. Asks for a "Model" and a "Year".

b. Selects all the rows that contain that model. (Note: *contains*
the text)

c. And from those selected rows it further sub-selects rows where
the "Year" is greater than or equal to the "FROM Year" AND
the "Year" is less than or equal to the "To Year".

d. Finally, it copies this short list (entire rows) to the "results
sheet
starting at cell B3. The "results" sheet is in the same workbook.

So if you entered "ks" for the Model and "94" for the Year then yo
would get the result:

M3 , ks5 , 91 , 94 , 0 , , ALP1608 , 79.46 , ...
M3 , ks5 , 91 , 95 , 0 , , AF1632 , 199 , ...
M3 , ks5 , 91 , 95 , 0 , , AH1634 , 312.63 , ...
M3 , ks5 , 91 , 95 , 0 , , ALP1646 , 44.58 , ...
M3 , ks5 , 91 , 95 , 0 , , ALP1647 , 44.58 , ...


Thanks

-----------------------------------------------
~~ Message posted from http://www.ExcelTip.com
~~View and post usenet messages directly from http://www.ExcelForum.com

~~Now Available: Financial Statements.xls, a step by step guide to creating financial statements
 
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
InputBox with VBA Mark[_8_] Excel Discussion (Misc queries) 0 November 24th 08 12:39 AM
InputBox peyman Excel Discussion (Misc queries) 4 September 28th 07 04:53 PM
InputBox GeorgeJ Excel Discussion (Misc queries) 5 July 12th 07 01:20 AM
Inputbox with VBA Jeff Excel Discussion (Misc queries) 3 January 19th 06 05:18 PM
inputbox defj Excel Programming 4 November 26th 03 10:25 PM


All times are GMT +1. The time now is 06:17 AM.

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

About Us

"It's about Microsoft Excel"