Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 260
Default #VALUE! position in column of data

I have a big range of data in column F. Each cell
contains a formula. If you start from the top and go down
you will eventually hit a cell that has the result of
#VALUE!. What code or formula will tell me the position
of this cell. For example range F5:F500 is filled with
formulas. The result of the formula in cell F341 is
#VALUE!. Tho code or formula need sto return 341. How do
I do this?


Todd Huttenstine
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 79
Default #VALUE! position in column of data

Sub test()
Range("A1").Select
Do Until ActiveCell.HasFormula = False
If ActiveCell.Text = "#VALUE!" Then MsgBox ActiveCell.Row
ActiveCell.Offset(1, 0).Activate
Loop
End Sub


"Todd Huttenstine" wrote in message
...
I have a big range of data in column F. Each cell
contains a formula. If you start from the top and go down
you will eventually hit a cell that has the result of
#VALUE!. What code or formula will tell me the position
of this cell. For example range F5:F500 is filled with
formulas. The result of the formula in cell F341 is
#VALUE!. Tho code or formula need sto return 341. How do
I do this?


Todd Huttenstine



Reply
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
Row position of specified column and value engineer Excel Worksheet Functions 12 December 23rd 09 11:24 PM
How insert a dash in the third position of a column with data? warren Excel Discussion (Misc queries) 1 July 19th 06 09:42 PM
function for Column Position nastech Excel Discussion (Misc queries) 4 October 22nd 05 12:56 AM
Finding Column Position Brian Mann Excel Discussion (Misc queries) 1 September 22nd 05 09:26 AM
locking data/cells so re-sorting a column doesn't re-position my d mtn_leisure Excel Discussion (Misc queries) 3 August 17th 05 10:32 PM


All times are GMT +1. The time now is 09:34 PM.

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

About Us

"It's about Microsoft Excel"