Thread: [Solved] HLOOKUP, if,? OR MACRO
View Single Post
 
Old 04-15-2011, 05:43 AM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi Bobby,

Try the attached. I've:
• added extra columns on the 'Welder Totals' sheet to hold the 'ACC' data for each sheet
• made the column heading the same as the sheet names (important for the re-coded macro - see below)
• simplified your 'Rej' formulae so you don't have to know how many row on each sheet have been used
• unhidden all columns on all sheets (just so I could understand each sheet's structure
• recoded the macro to start checking on row 3 of each welding sheet and to only check for welders' ID in columns 21-30, in steps of 3. These mods will greatly speed up execution.
• added a progress report on the status bar
• added the looping and extra logic to the sub so that all welding sheets can be processed in the one sub. These mods include the requirement that the sheet names match the column names on the 'Welder Totals' sheet.
Attached Files
File Type: xlsm Weld ProgressionPOSTONLINE.xlsm (307.2 KB, 11 views)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote