Hi,
I am new to using macros, and have searched the net through google, and this forum without result
I have this problem, and no idea how to make the needed macro.
Im my excel worksheet (excel 2010) I have one cell that changes every day (number)
I want this number to open my htm document and replace the same number in a string in the htm and save/close this.
An example:
My htm document is located at C:/ and named XX.htm
The number I want from excel is in cell A1 in sheet1, and the worksheet is located in D:/ named yy.xlsx
And the text(number) I want to replace is in the following string in the htm document, in this string it is 72, next day it can be 30:
src="Bilder/72.png"
Does anyone of you great people have a solution for this problem?
Or is it not doable?
Kind regards.
I am new to using macros, and have searched the net through google, and this forum without result

I have this problem, and no idea how to make the needed macro.
Im my excel worksheet (excel 2010) I have one cell that changes every day (number)
I want this number to open my htm document and replace the same number in a string in the htm and save/close this.
An example:
My htm document is located at C:/ and named XX.htm
The number I want from excel is in cell A1 in sheet1, and the worksheet is located in D:/ named yy.xlsx
And the text(number) I want to replace is in the following string in the htm document, in this string it is 72, next day it can be 30:
src="Bilder/72.png"
Does anyone of you great people have a solution for this problem?
Or is it not doable?
Kind regards.