You are here:
Worked with the program for many years - provided assistance on MS Excel Newsgroups since 1997. Have received the Microsoft MVP award annually since 1999. I don't answer questions on using Excel in a browser Since I have no way to test this. Prefer not to answer charting questions. I consider myself to be particularly knowledgeable about using VBA internal to Excel but have no problems with formulas and pivot tables either.
Have Used Excel for 15 - 20 years. Answered in excess of 70,000 Excel related questions in MS Excel newsgroups. Unless obvious, please specify whether you want a worksheet function or macro/VBA solution.
BS General Engineering (concentration in Industrial Engineering) MS Operations Research Systems Analysis
| User | Date | K | C | T | P | Comments |
|---|---|---|---|---|---|---|
| Stan | 02/10/10 | 10 | 10 | 10 | 10 | Tom, The code you provided worked perfectly ..... |
| Steve | 02/04/10 | 10 | 10 | 10 | 10 | |
| Gord | 02/04/10 | 10 | 10 | 10 | 10 | Thanks, your solution worked great. |
| Guillaume Vincent | 02/03/10 | 10 | 10 | 10 | 10 | A great thanks ! and very fast ..... |
| attis | 02/03/10 | 10 | 10 | 10 | 10 | Dear Tom, You are extremely fast!!!... and ..... |
Craig, Unforunately I can't write sample code for Field1 that might be anywhere on the sheet, so I will assume that cl_Id 100 xxx is in A2:C2 of row 1 of the activesheet when the macro is run
Audri, If you sorted each grouping separately. Otherwise, you would would need to put some field in that would keep rows together as the first key field in the sort. If you have a separate column
Martin, since s comes in as a argument to your function, I have no idea where it is declared or how you are managing it. If s is the variable you want to reset each time the function is called (and
Martin, the way you routine is set up, you call it with a specific cell so at most it can return a message to columns E and/or S or not message for that particular row. Since your example shows a message
Rod Whitehouse, Sub MacroName() Sheets("JOBS").Select Application.Goto ActiveSheet.Cells(Rows.Count, 1).End(xlUp) rw = activecell.Row for i = rw to 1 step - 1 if instr(1,cells(rw,1),"RBS",vbTextcompare)
Answers by Expert:

©2010 About.com, a part of The New York Times Company. All rights reserved.