LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
Pat Pat is offline
external usenet poster
 
Posts: 122
Default Formula is the problem

When K22 contains "QS" and there is data in column M a message will appear.

If WorksheetFunction.CountA(Range("M28:M1000")) = _
WorksheetFunction.Count(Range("M28:M1000")) Then
If Cells(22, 11).Value = "QS" Then
MsgBox "There is data in column M28:M1000, find and delete this
data "
Exit Sub
End If

The problem I am encountering is that any data appearing in column M is the
result of a formula. How can I have the code ignore the formula and only
recognize the result of the formula.

Thanks
Pat


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with formula Bowmanator Excel Discussion (Misc queries) 6 April 11th 09 02:13 PM
HELP Please - Formula problem Form Option Buttons[_2_] Excel Worksheet Functions 1 September 24th 08 01:19 PM
problem with formula jpoltor Excel Discussion (Misc queries) 2 March 19th 06 12:19 AM
Formula problem. Bill R Excel Worksheet Functions 8 November 15th 05 03:19 AM
formula Problem Little Willie Excel Discussion (Misc queries) 2 August 17th 05 04:42 AM


All times are GMT +1. The time now is 11:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"