jeffcoleky
Active Member
- Joined
- May 24, 2011
- Messages
- 274
Our small family business has a mailing campaign that we track with excel. However, we're very concerned about users opening the macro-filled master spreadsheet. Instead, we'd like a macro to do everything for them. Maybe you can help us?
What we are trying to accomplish is this...
When a letter comes back in the mail with a bad address, the user types the Street number and street name such as "1234 Main St" into $A2 of c:\dropbox\returned.xlsm, presses the macro button, and it should do the following:
The end result is that the user now has an identical row of information in their spreadsheet, and the master spreadsheet's row is colored gray indicating it has been completed.
Is there a Guru out there that can help us with a macro for this please?
Other notes:
-Jeff
What we are trying to accomplish is this...
When a letter comes back in the mail with a bad address, the user types the Street number and street name such as "1234 Main St" into $A2 of c:\dropbox\returned.xlsm, presses the macro button, and it should do the following:
- Opens and Searches "Sheet1", "column S", in the file c:\dropbox\master1.xlsm, and finds the LAST instance of the address typed.
- Selects that entire row
- Copies the entire row.
- Pastes the contents into the row of the active cell in the destination spreadsheet, overwriting what was there before. Such as $2:$2 if the address was typed in $A2.
- In the master1.xlsm spreadsheet, sets the entire copied row color to "gray".
- closes master1.xlsm and saves changes.
The end result is that the user now has an identical row of information in their spreadsheet, and the master spreadsheet's row is colored gray indicating it has been completed.
Is there a Guru out there that can help us with a macro for this please?
Other notes:
- I'm open to more efficient steps than this if you have them.
- There are approx 5,000 records to search through in master1.xlsx at any given time.
-Jeff