Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
JelteDeJong
in reply to: Anonymous

According to the help page the AddBorder() function takes 2 arguments.

JelteDeJong_0-1623842995468.png

In your code i see 3:

                                   1      2        3
Set oBorder = oSheet.AddBorder(oBorderDef, , sPromptStrings)

you could try:

Set oBorder = oSheet.AddBorder(oBorderDef, sPromptStrings)

 

Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Blog: hjalte.nl - github.com