ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Calling the "Move or Copy" Dialog Box from VBA (https://www.excelbanter.com/excel-programming/315835-calling-move-copy-dialog-box-vba.html)

Frank & Pam Hayes[_2_]

Calling the "Move or Copy" Dialog Box from VBA
 
I have an application where I am constantly moving a worksheet from one
workbook to some other workbook. I would like to automate the Edit ...Move
or Copy Sheet ... To Book sequence a little. Is there a way of calling the
Move or Copy Dialog Box directly from VBA?

Thanks,

Frank Hayes





Norman Jones

Calling the "Move or Copy" Dialog Box from VBA
 
Hi Frank,

Try:

Application.Dialogs(xlDialogWorkbookCopy).Show

---
Regards,
Norman



"Frank & Pam Hayes" wrote in message
news:0Wyid.857$oa1.192@trnddc03...
I have an application where I am constantly moving a worksheet from one
workbook to some other workbook. I would like to automate the Edit
...Move or Copy Sheet ... To Book sequence a little. Is there a way of
calling the Move or Copy Dialog Box directly from VBA?

Thanks,

Frank Hayes







Frank & Pam Hayes[_2_]

Calling the "Move or Copy" Dialog Box from VBA
 
That worked beautifully! Thanks.

Frank

"Norman Jones" wrote in message
...
Hi Frank,

Try:

Application.Dialogs(xlDialogWorkbookCopy).Show

---
Regards,
Norman



"Frank & Pam Hayes" wrote in message
news:0Wyid.857$oa1.192@trnddc03...
I have an application where I am constantly moving a worksheet from one
workbook to some other workbook. I would like to automate the Edit
...Move or Copy Sheet ... To Book sequence a little. Is there a way of
calling the Move or Copy Dialog Box directly from VBA?

Thanks,

Frank Hayes










All times are GMT +1. The time now is 12:10 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com