Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is there a way in VBA to compare two formula strings should be the same aside
from the fact that rows have been insterted. For example. Lets say OriginalString = SUM(B1:B4)*B6+B8 Now lets say I know that a Row was inserted at Row 1: RevisedString = SUM(B2:B5)*B7+B9 Now assume these two formulas return the same value. I want to be able to write a function which does the following: CompareStrings (OriginalString, RevisedString). I only want to test the formula string: SUM(B1:B4)*B6+B8 = SUM(B2:B5)*B7+B9 I need to adjust B9 in the second term to reflect that it is really B8 + 1 row. I need a formula parser that subtracts a row value from all rows greater than 8+1 in the second string. Any ideas Thanks EM |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Comparing text strings | Excel Worksheet Functions | |||
problem with comparing strings in VBA | Excel Discussion (Misc queries) | |||
Comparing text strings in cells | Excel Discussion (Misc queries) | |||
Comparing text strings in cells | Excel Discussion (Misc queries) | |||
Comparing slightly different strings | Excel Programming |