Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 117
Default How to find invalid formula references with VBA

Is there a way to use VBA to find invalid formula references in an
Excel spreadsheet?

I have some input worksheets I cannot control, and sometimes they
contain invalid formula references. I simply want to delete those
rows. I know how to delete the rows, but not how to find formulas
with problems.

Thanks, Alan


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default How to find invalid formula references with VBA

Are you talking about #REF! errors?

If yes, then you can record a macro when you use Edit|Find and look for #REF!.



Alan wrote:

Is there a way to use VBA to find invalid formula references in an
Excel spreadsheet?

I have some input worksheets I cannot control, and sometimes they
contain invalid formula references. I simply want to delete those
rows. I know how to delete the rows, but not how to find formulas
with problems.

Thanks, Alan


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,565
Default How to find invalid formula references with VBA

You have me confused. what is it that makes the formula invalid? It seems
that if they have bad references the error would be self evident, because
you would get the wrong result.


"Alan" wrote in message
...
Is there a way to use VBA to find invalid formula references in an
Excel spreadsheet?

I have some input worksheets I cannot control, and sometimes they
contain invalid formula references. I simply want to delete those
rows. I know how to delete the rows, but not how to find formulas
with problems.

Thanks, Alan




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
how to find #ref! invalid cell references within cell formula Brotherharry Excel Worksheet Functions 7 April 24th 23 07:41 PM
Invalid References in formula ck13 Excel Discussion (Misc queries) 4 May 10th 10 08:23 AM
How to find: formulas containing invalid references? Boswell[_2_] Excel Worksheet Functions 1 August 15th 09 12:50 AM
How to find: formulas containing invalid references? Boswell[_2_] Excel Worksheet Functions 2 August 13th 09 04:38 PM
invalid references in formula jk Excel Discussion (Misc queries) 2 September 25th 06 08:04 AM


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

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"