Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Can Kaya   on Jan 11 In MS Office Category.

  
Question Answered By: Mehreen Malik   on Jan 11

Yes it's called ActiveWorkbook.

Dim mywb As Workbook
Application.Dialogs(xlDialogOpen).Show
Set mywb = ActiveWorkbook

(if the user presses the cancel button the active workbook  will remain
the one that was active before the dialogue box was shown, so mywb may
not end up being the workbook you expect)

Share: 

 

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

 
Didn't find what you were looking for? Find more on Opening a workbook, and setting it as a variable Or get search suggestion and latest updates.


Tagged: