Hi there,
Very very new to excel/macros etc.
working in excel 2010.
I have created a macro button that changes the value of one cell, to the value of another cell.
E.g. when the button is pressed, the value in B2 changes to whatever value is in B1
here -
Sub Stock_up()
Range("F2").Value = Range("E2").Value
End Sub
i'd like to somehow just 'drag down' the buttons, like can be done with formula in excel cells. it is a basic stock control spreadsheet i am creating.
Also, as a bonus extra, i'd like to create some kind of conditional formatting, where upon if ANY of values in column B show a specific value (0), then a separate cell shows up red, or whatever.
e.g. b1, b2 and b3 all have values of 3, but b4 has a value of 0. Or, b1 and b3 have values of 3, but b2 and b4 have values of 0. i'd like cell D5 to fill red upon this 0 value, in any cell.
Thank you kindly
Katie x
Bookmarks