+ Reply to Thread
Results 1 to 3 of 3

Code to get an alert window to answer no

Hybrid View

  1. #1
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Code to get an alert window to answer no

    Hello mdnghtsnpr,

    Setting Application.DisplayAlerts = False automatically activates the default button of the dialog box. The question in my mind is why are you using the clipboard? As a general rule, it is not necessary to use the clipboard to copy information from application to application, unless you want to preserve formatting.

    If you don't need the formats and only the raw data then your macro needs to modified not to use the clipboard. Direct information transfer will eliminate the clipboard messages and the need to answer them either manually or automatically. You would need to post code before any changes could be suggested.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  2. #2
    Registered User
    Join Date
    04-23-2010
    Location
    Albuquerque, USA
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Code to get an alert window to answer no

    Thanks that worked for me and to answer your question I am trying to keep the formatting as some information is show as completed by bolding the date, instead of non-bolded estimates of completion. Thank you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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