VBS to Javascript conversion

15 views
Skip to first unread message

Kyle Albertyn

unread,
Sep 28, 2022, 9:47:22 AMSep 28
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