Automation object error when merging Microsoft Excel cells in LotusScript

Tags:
LotusScript
Microsoft Excel
Whenever I try to merge cells in Microsoft Excel through LotusScript, an automation error appears.
r=11
c=12
t=15
mysheet.cells(r, C).value="ABC "
mysheet.cells(r, C).Font.Size=12
mysheet.cells(r, C).Font.ColorIndex=1
mysheet.cells(r, C).Font.Bold = True
' -4108 is for center
mysheet.cells(r, c).HorizontalAlignment =-4108
'mysheet.Range("L11:O11").MergeCells = True
'mysheet.Range("A1:A2:O1:O2").MergeCells = True
mysheet.Range("Lr:Or").MergeCells = True
'mysheet.range(mysheet.cells(c, r), mysheet.cells(t, r)).MergeCells = True


Software/Hardware used:
Lotus script
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • joeywatson
    I never faced such a kind of problem and it is unique for me too. So I better suggest you to reinstall it.
    1,250 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: