ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   using an if then statement call a caption box to a cell (https://www.excelbanter.com/excel-programming/331939-re-using-if-then-statement-call-caption-box-cell.html)

mangesh_yadav[_325_]

using an if then statement call a caption box to a cell
 

Well, you could simply say...

If Range("A1") = 100 then
MsgBox("Goal value reached")
End If

Assuming that 100 is the goal value you are seeking.


Mangesh


--
mangesh_yadav
------------------------------------------------------------------------
mangesh_yadav's Profile: http://www.excelforum.com/member.php...o&userid=10470
View this thread: http://www.excelforum.com/showthread...hreadid=379571



All times are GMT +1. The time now is 11:49 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com