Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Replacing part of a formula using Script

$
0
0

So I usually use template formulas (like - =IMPORTRANGE(LINK,Sheet1!A1) where link is the variable I replace using find and replace).

So, now I wanted to automate this task, i.e. for example the formula sits in cell A1 and the link in B1. Normally, I just go find-> Match in formula also-> Replace. But now I wish to do this using a script that I would connect to a drawing on my sheet.

Recently, upon researching the web(and this SE too), I didn't find any script for replacing something from a formula, which is troublesome for me knowing that I don't know JavaScript to program something myself..

So, can anyone please help me in accomplishing this?


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>