In VBA editor: Sheets("TAB NAME"). Range("cell name"). Value = VALUE
Replace CAPITALIZED WORDS with requested information; if your value is text, use "" around the text.
To write value to a cell in excel VBA use the VB statement Range ("cell Address"). value= value. For example Range ( "A1" ). Value = 500. You can use the Range object in VBA to set the value of a named cell, just like any other cell. Range("A1"). Value = Inputbox("Enter the number? )
where A1 is the cell address