> *Sub if_Save()*
> *If Sheet2.Range("M5") = "" or **Sheet2.Range("M6") = "" or **
> Sheet1.Range("P5:P9").count
> < 5** **Then*
> *msgbox ("Pleaes FullFill Entry " & Vbcrlf & "Name Shoud Be Enter " &
> Vbcrlf & " Code Should be Correct" & Vbcrlf &" Value Should be lesser then
> 5", vbinformation*
>
else
> *
> *
> *Call Test*
>
* End If*
> *End Sub*
>
On Mon, May 2, 2011 at 2:07 PM, Pravin Kumar wrote:
> Hi
>
> I am trying to write a code: I want to Call Test only if all the criteria
> fulfilled or else this should keep msging to get the details.. not able to
> finish it. Pls help.
> *
> *
> *
> *
> *Sub if_Save()*
> *If Sheet2.Range("M5") = "" or **Sheet2.Range("M6") = "" or **
> Sheet1.Range("P5:P9").count
> < 5** **Then*
> *msgbox ("Pleaes FullFill Entry " & Vbcrlf & "Name Shoud Be Enter " &
> Vbcrlf & " Code Should be Correct" & Vbcrlf &" Value Should be lesser then
> 5", vbinformation*
>
else
> *End If*
> *Call Test*
> *End Sub*
>
> --
>
> --
> Some important links for excel users:
> 1. Follow us on TWITTER for tips tricks and links :
> http://twitter.com/exceldailytip
> 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
> 3. Excel tutorials at http://www.excel-macros.blogspot.com
> 4. Learn VBA Macros at http://www.quickvba.blogspot.com
> 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
>
> To post to this group, send email to excel-macros@googlegroups.com
>
> <><><><><><><><><><><><><><><><><><><><><><>
> Like our page on facebook , Just follow below link
> http://www.facebook.com/discussexcel
>
--
Regards
Rajan verma
+91 9158998701
--
--
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links :
http://twitter.com/exceldailytip
2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
To post to this group, send email to excel-macros@googlegroups.com
<><><><><><><><><><><><><><><><><><><><><><>
Like our page on facebook , Just follow below link
http://www.facebook.com/discussexcel