0
votes

i am doing this:

MsgBox ActiveWorkbook.Name

and getting the above mentioned error.

please note that this has worked for many months and now all of a sudden it does not workl

what can i do to fix it?

1
Are you sure that there is a workbook open in Excel?Dirk Vollmar

1 Answers

2
votes

Perhaps no workbook is active at all? Is your code running from a hidden workbook, like the personal workbook?