Jump to content

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 ?

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...