Application.Dialogs(xlDialogWorkbookCopy)

  • Thread starter Thread starter Andy
  • Start date Start date
A

Andy

Using Application.Dialogs(xlDialogWorkbookCopy).Show to bring up the
dialog box asking where the user wants to move the sheet. How do I get
vb to populate the "To book:" and uncheck the "Create a Copy" checkbox?

At the moment when it runs the "To book:" drop down box is automatically
coming up with (new book), so you need to use the drop down box to
select the current workbook.

Any help would be appreciated.

Thanks

Andy
 
Right, got the "To Book" part sorted. .Show(sheetname, workbook name,
position)

Do you know how to have the dialog box to show without the 'Copy'
checkbox checked?
 
Hi Andy,
Right, got the "To Book" part sorted. .Show(sheetname, workbook name,
position)

Do you know how to have the dialog box to show without the 'Copy' checkbox
checked?

Try using:

Application.Dialogs(xlDialogWorkbookMove).Show
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top