Excel VBA code example demonstrating how to set a cell value using the ActiveWorkbook and ActiveWorksheet.
Screenshot showing VBA code in Excel that sets the value of cell A1 to 100 on the active worksheet and workbook, with a note explaining the code runs on the active workbook and sheet if not specified.