dougmarkham
Active Member
- Joined
- Jul 19, 2016
- Messages
- 252
- Office Version
- 365
- Platform
- Windows
Hi Folks,
I have been asked to generate an online excel spreadsheet and automate some functions that I would normally use VBA for.
I've read a bit of intro material, but Office Script seems alien to my brain right now.
How would one replicate the following VBA code?
I'm trying to understand how the syntax works, but this doesn't seem to be covered in the introductory stuff, so any help would be greatly appreciated!
Kind regards,
Doug.
I have been asked to generate an online excel spreadsheet and automate some functions that I would normally use VBA for.
I've read a bit of intro material, but Office Script seems alien to my brain right now.
How would one replicate the following VBA code?
VBA Code:
Sub setvalue()
Dim ws As Worksheet: Set ws = Worksheets("Sheet1")
ws.Activate
Selection.Value = "Yes"
End Sub
I'm trying to understand how the syntax works, but this doesn't seem to be covered in the introductory stuff, so any help would be greatly appreciated!
Kind regards,
Doug.