+ Reply to Thread
Results 1 to 8 of 8

If range value greater then 0 then show msgbox with cell value

  1. #1
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,078

    If range value greater then 0 then show msgbox with cell value

    hi,
    i am using worksheet change event to appear a msgbox if range m3 value >0

    Please Login or Register  to view this content.
    i want msgbox show cell value of range f10:f1000 and activate the same row of range f10:f1000 and clear the input value of range f10:f1000 of range m3 got greater then 0

    thank you
    Use Code-Tags for showing your code :
    Please mark your question Solved if there has been offered a solution that works fine for you
    If You like solutions provided by anyone, feel free to add reputation using STAR *

  2. #2
    Forum Contributor
    Join Date
    01-02-2007
    Location
    Australia NSW
    MS-Off Ver
    2013
    Posts
    494

    Re: If range value greater then 0 then show msgbox with cell value

    Sorry but your descrption lost me at, 'want msgbox show cell value of range f10:f1000'
    You want a msgbox to show 990 cell values?

  3. #3
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,078

    Re: If range value greater then 0 then show msgbox with cell value

    no
    Only active cell value

    for example'
    i type 17 in range f11 and range m3 value goes greater then 0 then show msgbox with "value not found' and 17(cell value) and then clear the 17 from

    thank you for the reply

  4. #4
    Forum Contributor
    Join Date
    01-02-2007
    Location
    Australia NSW
    MS-Off Ver
    2013
    Posts
    494

    Re: If range value greater then 0 then show msgbox with cell value

    Untested, but something like:
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,078

    Re: If range value greater then 0 then show msgbox with cell value

    An error comming and sorry
    this is not what i need bro
    Capture.JPG

  6. #6
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,078

    Re: If range value greater then 0 then show msgbox with cell value

    what i need
    for example'
    in above mine code if range m3.value > 0 then msgbox will show
    so i need changes in above code according

    i type 17 in range f11 and (range m3 value goes greater then 0 ) then my code will show a msgbox with
    Please Login or Register  to view this content.
    i want to added the cell value where msgbox shows and clear the value of that cell

    thank you

    msgbox "value not found' & cell value (17)

  7. #7
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,464

    Re: If range value greater then 0 then show msgbox with cell value

    Quote Originally Posted by HaroonSid View Post
    for example'
    i type 17 in range f11 and range m3 value goes greater then 0 then show msgbox with "value not found' and 17(cell value) and then clear the 17 from

    thank you for the reply
    Please Login or Register  to view this content.

  8. #8
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,078

    Re: If range value greater then 0 then show msgbox with cell value

    Perfect
    code Jindon Sir

    thank you

+ 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 - If cell in range is greater than = MsgBox
    By Quint6778 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-29-2016, 01:37 PM
  2. [SOLVED] Check Date and Time in range and show Msgbox
    By marreco in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-04-2016, 09:08 AM
  3. [SOLVED] Show sum value of range in msgbox
    By TimmerSuds in forum Excel General
    Replies: 5
    Last Post: 06-18-2014, 06:27 AM
  4. [SOLVED] If Cell Value = Error, show MsgBox
    By pipoliveira in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-08-2013, 05:12 AM
  5. [SOLVED] How to show MsgBox if a range of cells in a worksheet of a workbook is already comp.
    By bigpappi23 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-05-2013, 10:20 AM
  6. Check range if multiple names exist then show msgbox
    By c.pedersen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-15-2012, 06:23 AM
  7. How to show MsgBox if a any cell value is > 17 in a range
    By syedalamgir in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-12-2011, 08:48 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