Results 1 to 2 of 2

EXCEL VBA - Assigning a MsgBox in BeforeSave to many Workbooks

Threaded View

  1. #1
    Registered User
    Join Date
    09-19-2013
    Location
    Poland
    MS-Off Ver
    Excel 2010
    Posts
    1

    EXCEL VBA - Assigning a MsgBox in BeforeSave to many Workbooks

    I have 2000 pcs workbooks created from a template in Excel 2002 that had touch (tpwiz) recording in the database and it was OK for the change to EXCEL 2010. I converted it to each of them in the application of any amendments quite add up to the base (it happens often).
    How VBA code to assign to the current "open) workbooks for all 2000psc - following code (which displays the message) (I might add that the opening of 50pcs sheet 40 times this no problem):

    Dim Odp
     Odp = MsgBox ("Zapisz do bazy jeżeli ...", VbYesNo + VbInformation + VbDefaultButton1, "turandot")
      If Odp = 6 Then
       MsgBox "OK", , "turandot"
      Else
       MsgBox "Tak tylko przypominam", , "turandot"
      End If
    Last edited by turandot; 09-19-2013 at 07:58 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Excel AutoFilter & beforeSave Problem
    By derroque in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-10-2013, 04:10 AM
  2. [SOLVED] BeforeSave Crashes Excel
    By grey in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-29-2012, 03:08 AM
  3. [SOLVED] beforesave macro causes excel to crash
    By carrob in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-13-2012, 10:06 AM
  4. Merge multiple excels with multiple sheets in a master excel with multiple sheets
    By marchi in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-15-2012, 10:37 AM
  5. Assigning Marco to cell which brings MsgBox
    By BouncingHippo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-21-2008, 12:47 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