excel - Requesting Special Macro - Replacing constants and formulas -


this might sound dumb, please excuse me that. can me out.

situation: have worksheet (not whole workbook) contains constants (assumption values, manually fed in sheet) , formulas (again assumption values, not constants). these assumption values accessed 1000's of cells in whole workbook.

problem: other people in other departments, forcibly have open huge excel file add assumptions in, , pcs slow that.

goal: goal can take out assumption tab out of huge excel sheet , make separate excel sheet, people other departments can update separate file , own huge excel file pull data in , let other tabs in huge excel file use these user inputted values.

what trying is, trying write special macro:

1) searches constants in worksheet (not book), searches dependent cells in whole workbook, , replaces formulas in dependent tabs, refer new assumption sheet want take out of huge excel file.

also, dependent cells have formulas refer fixed cell within assumption sheet. formula them ...'assumptions'!$j$34...notice $ signs.

right now, manually going each assumption tab cell constant, getting address, doing ctrl + f , replace dependent cell's formulas new sheet's corresponding cell address. keeping new separated sheet , cells @ exact corresponding address in huge excel sheet. tough, since constants in assumptions tab 100s in number (the huge file 13 years old, hence sucky)

please let me know if possible via 1 macro? if not, can goal achieved via multiple macros?

or: there way, can link multiple cells of sheet, multiple corresponding cells of sheet eg: linked b -> value in cell = "=b".

i macro a's in particular range new values of bs other sheet eg new value in = "=newvalueof_b".

i not sure if can post other forums? can i?

if i'm understanding problem, goal have exact duplicate of assumption sheet in file , change formulas link new file.

if i'm right don't need macro that. can create new file, , replace changing 'assumptions'! '[new file name.xlsx]assumptions'!


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -