Jump to content
Sign in to follow this  

CreateBorder error

Recommended Posts


Here's my script :

#include <ExcelCOM_UDF.au3>

$oExcel = _ExcelBookNew(1)
_ExcelWriteCell ($oExcel, "blablabla", "A1", "1")
_ExcelCreateBorders ($oExcel, $xlThin, "A1", "1", "1", "1", "1", "1", "1", "1", "0", "0")

And this is the error I get :

.TintAndShade = 0

.TintAndShade = 0^ ERROR

I'm using Excel 2003 & 2007, but _ExcelBookNew won't open Excel 2007, only 2003. Any way to fix this problem ?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.