+ Reply to Thread
Results 1 to 3 of 3

Before Save Event

  1. #1
    Registered User
    Join Date
    06-23-2005
    Posts
    86

    Before Save Event

    Hi all

    Can anyone help

    What I want is a before save event to check if Cells G55:P55 sum -1 to 1 on Group Reporting Worksheet. If it doesnt I want it to display the msgbox.

    Am getting a complie error on this, I'm sure I'm close but cant get it to work.

    Here is what I am using......

    Please Login or Register  to view this content.
    Thanks in advance for any help.
    Cheers

  2. #2
    Valued Forum Contributor JeanRage's Avatar
    Join Date
    03-02-2009
    Location
    Nice, France
    MS-Off Ver
    Excel 2003
    Posts
    705

    Re: Before Save Event

    Hi,

    Have you tried ... to use the Application.WorksheetFunction.Sum ...

    HTH

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Before Save Event

    Remember if you want to cancel the Save to add

    Please Login or Register  to view this content.
    within the Case Else (and I would probably add "Save Cancelled" to your dialog)

+ Reply to Thread

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