VBS to Javascript conversion

21 views
Skip to first unread message

Kyle Albertyn

unread,
Sep 28, 2022, 9:47:22 AM9/28/22
to Google Apps Script Community
Hello all, 

I have recently found a basic function in VBS which needs to be converted to javascript as the function needs to be implemented in JS (google spreadsheets vs excel). Could anyone help with this issue? 

VBS Code: 

Function TestColor(MyRange As Range) As Boolean
    If Range(MyRange.Address).Interior.Pattern = xlNone Then TestColor = True
End Function

Thank you in advance. 

Kind regards,
Kyle
Reply all
Reply to author
Forward
0 new messages