DrMK
Germany 12 Posts
YimingChen
1669 Posts
layer -o [Book1]Sheet1 { wks.labels(*D1); };
doc -e LW { wks.labels(*D1); }
quote:Originally posted by YimingChenHi,To run script on certain worksheet. try the following script: layer -o [Book1]Sheet1 { wks.labels(*D1); }; To loop all worksheets in current workbook and run the script: doc -e LW { wks.labels(*D1); } James