+ Reply to Thread
Results 1 to 3 of 3

Application.Dialog set default button??

  1. #1
    Forum Contributor
    Join Date
    11-26-2014
    Location
    Bosnia&Herzegovina
    MS-Off Ver
    Office2013
    Posts
    281

    Application.Dialog set default button??

    Hi,

    Is it possible to set default button in Application.Dialogs(xlDialogPrinterSetup) to "Cancel" ??

    Thanks in advance, God Bless

    Please Login or Register  to view this content.

  2. #2
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,908

    Re: Application.Dialog set default button??

    You can set different arguments in the Dialog object but setting the Cancel button as default is afaik not one of them.

    Maybe someone else here can prove me wrong ?
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  3. #3
    Forum Contributor
    Join Date
    11-26-2014
    Location
    Bosnia&Herzegovina
    MS-Off Ver
    Office2013
    Posts
    281

    Re: Application.Dialog set default button??

    Maybe

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Application.Dialog to open PDF Export Dialog
    By thisismyfinaltry in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-25-2016, 10:11 AM
  2. [SOLVED] Save As Dialog Box - Default Path and File Name, User Selects Sub Folder from Default Path
    By christenprochaska in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-12-2012, 05:17 PM
  3. Resolved >>> Protect Sheet Dialog Box Default
    By jndickin in forum Excel General
    Replies: 2
    Last Post: 10-23-2007, 02:34 PM
  4. specify default path in dialog open box
    By Striker in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-12-2006, 09:35 AM
  5. [SOLVED] Setting a default path name under Save As Dialog Box
    By Shams in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-28-2006, 05:40 PM
  6. Default Cell Values & Save Changes Dialog Box
    By timg in forum Excel General
    Replies: 1
    Last Post: 11-04-2005, 05:20 PM
  7. print dialog box with 2 copies as default?
    By Johan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-10-2005, 06:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1