Hello!
As i wrote this pain in the *** to change formula i figured it would be better to use a custom function to use it.
It goes beyond my VBA-skills to translate the entire formula to VBA code so instead i figured i would have a vba function returning a formula but where the dates were already filled in (when you use the function)
Now, i only get the cell returned as a "string". The Cell shows the formula i want (with Sdate and Edate instead of the chosen cells) as string. The formula of the cell is still mycustomfunction.
Is there a way for the function to change the formula of the cell from which it was called?
Bookmarks