Results 1 to 5 of 5

deleting a worksheet (no prompting) and closing workbook

Threaded View

  1. #1
    Registered User
    Join Date
    04-22-2010
    Location
    Greece
    MS-Off Ver
    Excel 2007
    Posts
    50

    deleting a worksheet (no prompting) and closing workbook

    hey all
    first,

    what is the code I use when the [x] button is pushed.
    is it like private sub form_closed??? - dont think it is

    when the user puses the [x] (top right hand corner. I want to code an action.
    is this possible?


    i know you a form is opened the code is
    form_activate

    2nd
    when i use the following command
    Sheets("Temp").Delete

    it will prompt me if i am sure i want to delete. I do not want to be prompted.

    cheers
    Last edited by pavlos; 05-15-2010 at 05:13 AM.

Thread Information

Users Browsing this Thread

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

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