Get Started
Documentation
Macros
More information
|
Write data to worksheet cellDescription
Write the data (the Hello world phrase) to the worksheet third column of the fourth row. (function() { Api.GetActiveSheet().GetRange("C4").SetValue("Hello world"); })(); Methods used: GetActiveSheet, GetRange, SetValue Reference Microsoft VBA macro code
Sub example() Cells(3, 4)="Hello world" End Sub Result
![]() |