+ Reply to Thread
Results 1 to 2 of 2

VBA for Automatic MSg box when a specific cell value cross limit..

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    01-29-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    434

    VBA for Automatic MSg box when a specific cell value cross limit..

    Hello

    We are looking a VBA or macro for my project file with following

    We have a project file with 10 sheets but we want if in sheet (i.e. Master) Cell Value J21 reach 50 or more then 50 then a Msg Box or User form Display with following MSG... immediately when ever work in any sheets

    "YOUR DATA LIMIT IS CROSS MAXIMUM ... PLS TAKE APPROVAL FOR MORE LIMIT"

    tHANKS

    sANTOSH

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: VBA for Automatic MSg box when a specific cell value cross limit..

    Use something like this in the module of each worksheet:

    Private Sub Worksheet_Change(ByVal Target As Range)
    If Worksheets("Master").Range("J21").Value > 50 Then
        MsgBox "YOUR DATA LIMIT IS CROSS MAXIMUM ... PLS TAKE APPROVAL FOR MORE LIMIT", vbExclamation + vbOKOnly, "Excel Forum"
    End If
    End Sub
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] VBA for hide/unhide specific rows automatic if certain cell value is more then pre define
    By santosh226001 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-05-2013, 08:58 AM
  2. How to cross reference and create automatic commenting
    By VoidnessMD in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-28-2010, 06:00 PM
  3. Automatic Recording of current time when Specific Cell is Changed
    By Regan_Mitchell in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-26-2010, 06:22 AM
  4. Limit Automatic update in the worksheet
    By rchiu5hk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-19-2008, 01:27 AM
  5. [SOLVED] How to limit 'calculate' (F9) to specific cell, range, sheets, workbooks?
    By pm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-14-2006, 04:55 PM

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