Attached 2 workbooks
I run controlbutton2 in workbook "sheetchange.xlsm with the intent
of deleting rows in workbook "sheetchangedata.xlsx that do not
contain zused or zconsignment in column A.
The coding does make "sheetchangedata.xlsx the active workbook
and "inventory report all stores" the active worksheet.
However, when I run commandbutton2 the correct rows are
deleted - but in sheetchange.xlsm not in "sheetchangedata.xlsx"
despite the fact that "sheetchangedata.xlsx" is active.
question - why aren't the rows deleted in the active workbook and active worksheet
question - can I change the line that deletes the entire row so that workbook and sheet
("sheetchangedata.xlsx " and "inventory report all stores" are specified in that line.
Thanks Carroll
Bookmarks