Results 1 to 2 of 2

excel won't stop saving

Threaded View

Alan4 excel won't stop saving 04-21-2016, 02:53 PM
mehmetcik Re: excel won't stop saving 04-21-2016, 04:08 PM
  1. #1
    Registered User
    Join Date
    02-06-2016
    Location
    Maryland
    MS-Off Ver
    2007
    Posts
    5

    excel won't stop saving

    Private Sub Worksheet_Calculate()
    Dim test As Workbook
     Set test = Workbooks("test.xls")
    
    If Range("b2").Value = 1 And intOldVal = 0 Then
    
        test.Save
    
    End Sub
    
     
    
    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
       If Target.Address = "$B$2" Then
             intOldVal = Range("B2").Value
             Debug.Print "intOldVal : " & intOldVal
        End If
    End Sub
    save 1 time only on b2 changing from 0 to 1 occuring multiple times any ideas?>
    Last edited by zbor; 04-21-2016 at 02:56 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Help with VBA to stop Saving
    By Big_Slick in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-08-2015, 07:50 AM
  2. how can i stop people from saving data on my excel sheet.
    By scottmcg in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-17-2012, 06:12 PM
  3. Stop duplicate saving
    By Beef Brown in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-05-2009, 04:42 PM
  4. Replies: 4
    Last Post: 06-26-2006, 06:40 AM
  5. [SOLVED] How do I stop Excel from saving a file with a different name?
    By Gary in forum Excel General
    Replies: 5
    Last Post: 09-14-2005, 02:06 PM
  6. [SOLVED] Stop macro from saving changes
    By manoj.tare@gmail.com in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-01-2005, 09:06 AM
  7. Replies: 0
    Last Post: 03-29-2005, 11:06 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