Hi guys,
I would like to have a command button to do the following command:
1. Check on sheet "FM017" the following cells for value 0 and 1:
AK31
AK53
AK84
AK106
AK137
AK157
AK190
AK212
AK243
AK265
AK296
AK318
AK349
AK371
AK402
AK424
AK455
AK477
AK508
AK530
2. Set print area from A1 to "last cell with value 0" (which will be one of the listed cells)
3. Convert / Print as PDF selection A1 to "last cell with value 0"
4. Save in same folder as excel document and use same file name for the pdf as the excel document but add current date to the file name as well. - OR: just any file name like "FM017_'current date'.pdf" (4. is optional - more important is step 1-3 at the moment)
Who can solve this? Thanks heaps in advance already!
Bookmarks