Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Ashan Kaya   on Sep 20 In MS Office Category.

  
Question Answered By: Abrianna Rossi   on Sep 20

It appears you are expecting the macro to guess what workbook the sheets are
in. It will only guess the workbook in which the code is running.

You will need to make the name of the workbook which does not contain the
code one of the calling parameters. You may also need to pass the names of
the worksheets as strings rather than as objects. Then use
workbook.sheets(sheetname) to address each worksheet.

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on show a button in my excel sheet Or get search suggestion and latest updates.


Tagged: