Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Application.Dialogs(xlDialogWorkbookCopy)

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Application.Dialogs(xlDialogWorkbookCopy)

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?
Andy wrote:

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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Application.Dialogs(xlDialogWorkbookCopy)

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


---
Regards,
Norman



"Andy" wrote in message
...
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?
Andy wrote:

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



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Application.Dialogs(xlDialogWorkbookCopy)


Norman, thanks, I couldn't see the forest for the trees.

Norman Jones wrote:
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


---
Regards,
Norman


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
application.dialogs(xlDialogPrint) - arguments David Excel Programming 0 October 17th 05 08:01 AM
Application.GetOpenFilename vs Application.Dialogs(xlDialogsOpen) Paul Martin Excel Programming 5 August 5th 05 04:44 PM
How to disable the Application Dialogs Philip Excel Programming 1 November 5th 04 08:50 PM
Application.Dialogs(xlDialogFormulaFind).....HELP!!!!!! jason Excel Programming 2 October 1st 04 12:47 PM
application.dialogs(xlDialogSaveAs) AND CHDIR Jules[_2_] Excel Programming 1 September 3rd 03 08:27 PM


All times are GMT +1. The time now is 08:09 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"