I need to write a MACRO in Excel 2003 SP2. Can you do it for me? If you do, I'll send you £50 Postal Order and I am serious.
Task:
A window appears with 2 inputs required:
1. Project Number (6 digit string) (Example 123456)
2. Task Number (3 digit string) (example 789)
User enters these digits and clicks OK.
I then need the macro to look in to a source workbook always called in C:\My Documents\FSA\Monthly OPA Extract\Working.xls worksheet "Project CC" Rows 4 to end of data.
If it finds a match for Project Code in Column A and the contents of Column E start with the Task Number, it should copy each row from column A to column R and paste values of cells in to the receiving worksheet "Labour Data" in the open workbook stating at Cell G3.
The process is repeated until all rows in the Working.xls worksheet have been read. Each time it comes across a new instance of "Project Code = 123456" in column A and "Task Code = 789" in colum E it copies the row to the next free row.
2007-11-24
00:59:47
·
2 answers
·
asked by
Dancin Clown
1
in
Computers & Internet
➔ Programming & Design