Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Doug Gault
 
Posts: n/a
Default How do I compare FORMULAS in two workbooks

I have found many programs that will help me compare the VALUES in one
workboodk to another, but I need something that will help me compare the
underlying formulas.

We have some financially based spreadsheets that are routed through the
company for edit/review/approval and when we get them back we need to make
sure that nothing has happened to change the underlying forumlas.

I need a program/method to compare the routed spreadsheet to a "Master copy"
that will check to insure the formulas haven't changed.

Thanks
  #3   Report Post  
bj
 
Posts: n/a
Default

try a macro like

subbkck()
for r = 1 to endrow
for c = 1 to endcolumn
if workbooks("wb1").sheets("sh1").cells(r,c).formula< if
workbooks("wb2").sheets("sh1").cells(r,c).formula then
workbooks("wb1").sheets("sh1").cells(r,c).select
With Selection.Interior
.ColorIndex = 6
.Pattern = xlSolid
End With
next c
next r
end sub

This will leave any changed cells highlighted yellow in wb1
Note if this does what you want, I would change the brute force macro to a
more formal macro with methods of having the macro select the max cells and
inputing the Workbook names. I also dim each variable and use option
explicit.
but I like brute force macros for initial set ups because it is easier to
see what they do.

"Doug Gault" wrote:

I have found many programs that will help me compare the VALUES in one
workboodk to another, but I need something that will help me compare the
underlying formulas.

We have some financially based spreadsheets that are routed through the
company for edit/review/approval and when we get them back we need to make
sure that nothing has happened to change the underlying forumlas.

I need a program/method to compare the routed spreadsheet to a "Master copy"
that will check to insure the formulas haven't changed.

Thanks

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
Copy worksheets with formulas between different workbooks Tim Excel Discussion (Misc queries) 3 March 31st 05 12:40 PM
Compare 2 different workbooks with the result in a 3rd cursednomore Excel Discussion (Misc queries) 1 March 18th 05 01:48 PM
References to open/hidden workbooks become hard-coded in formulas - 2003 L Mehl Excel Discussion (Misc queries) 2 November 27th 04 09:28 PM
compare and merge workbooks Lost in Excel Excel Worksheet Functions 1 November 23rd 04 01:43 PM
calculating formulas for all workbooks in a folder Chad Excel Worksheet Functions 3 November 13th 04 05:22 PM


All times are GMT +1. The time now is 05:41 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"