I am writing a document in excel (it has to be in excel as there are some calculations required hence it cant be in Word) & require a VBA to change the font size based on another cell reference:
if i have a main-heading in A1 i would like it to be Calibri, size 30, in Bold based on B1 having the number "1" in it
if i have a sub-heading in A2 i would like it to be Calibri, size 25, in Bold based on B2 having the number "2" in it
if i have a sub-sub-heading in A3 i would like it to be Calibri, size 20, (Not in Bold) based on B3 having the number "3" in it.
having an identifiable trigger in column B seems to be the the most practical way of identifying the requirements for column A
i would like it to be simple so that i can add to it with other variables etc...
if anyone can help it would be really appreciated.
Bookmarks