Excel Set a variable to a value in a cell(X=Row,Y=Column) in a Macro October 17, 2016 bryanbmc Leave a comment Set a variable to a value in a cell(X=Row,Y=Column): variable_name = Worksheets(“sheet_name”).Cells(X, Y).Value Share this: Click to share on Facebook (Opens in new window) Facebook Click to share on LinkedIn (Opens in new window) LinkedIn Click to share on X (Opens in new window) X Click to email a link to a friend (Opens in new window) Email Like Loading...