I scan coupons with a desktop scanner into a giant folder and I'm trying to make this easier on myself if at all possible. I'm wondering if once I have the giant index of all the coupons if there isn't a way to come up with a macro to put the coupons into the correct column based on their four digit redeemer number.
Here is an example of the coupon data:
Column A Column B Column C, D, Column E
4/29/2014 15:10 C:\Users\Galena\Desktop\Coupons Folder\2014 Coupons\HB1005-3\HB2013203589_04-29-2014_15-10-55.pdf 1 HB2013203589
4/29/2014 15:10 C:\Users\Galena\Desktop\Coupons Folder\2014 Coupons\HB1005-3\HB2013249468_04-29-2014_15-10-55.pdf 1 HB2013249468
4/29/2014 15:10 C:\Users\Galena\Desktop\Coupons Folder\2014 Coupons\HB1005-3\HB2013203553_04-29-2014_15-10-55.pdf 1 HB2013203553
The HB1005 is the redeemer number which will be found in column B. HB2013203589 etc. are the coupon numbers in column B and E (the same). I want to take all coupon numbers associated with each redeemer number and put them in a separate spreadsheet that has redeemer numbers listed at the top of each worksheet. I'm attaching that file.
The redeemer numbers (called FMNP #s) are each in column A2 of the worksheet and will always be there. So what I want is if 1005 is in A2, the macro will go to the next blank column in the worksheet and post all of the coupon numbers in that column, starting with cell 5.test coupon macro data.xlsm
Can anyone help? Thanks in advance!











LinkBack URL
About LinkBacks
Register To Reply
lol. What I am trying to do is set up two macros to automate this. The second half is the one you already did for me on another thread (TYVM!). That second macro takes all the coupons and lists them according to their voucher number. With the first macro I am hoping to automate the process of getting the scanned coupons into all those columns. So you can imagine the columns all blank but waiting for data from that list that says "raw data." I want to take that raw data and match a giant list of coupons belonging to many different spreadsheets (it may have data from both scalzo, wagner, and rochester on the example spreadsheet). So I will scan all the coupons into folders labeled with their FMNP or redeemer number and then put them into the "raw data." It will be much longer than 3 lines. I want the macro to then look at the giant list of all the coupons and their folders and the put the coupons that belong to each redeemer scalzo etc. into the next blank column in their worksheet. That way the coupons scanned in previous weeks are still there. Please tell me this makes sense? lol Trying my best to explain.


Bookmarks