Login
Remember
Register
PlantUML Q&A
All Activity
Questions
Hot!
Unanswered
Tags
Users
Ask a Question
Ask a Question
erreur d'exécution '6' dépassement de capacité : error on word macro
0
votes
asked
Dec 10, 2013
in
To be sorted
by
anonymous
Hi,
Having perfomed a classical installation of the word macro for plantUML, I have the message :
erreur d'exécution '6' dépassement de capacité
I cannot find why.
please help me !
regards
Your comment on this question:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Your answer
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail]
(--------)
To avoid this verification in future, please
log in
or
register
.
1 Answer
0
votes
answered
Dec 11, 2013
by
plantuml
(
298,440
points)
Hello,
Could you tell us which version of Word you are using ?
Do you know on which line the VBA macro is failing ?
Thanks,
commented
Dec 11, 2013
by
anonymous
Hi, thanks for your answer.
I have word 2007, and the line is :
line before ==> javaCommand = "java -classpath """ & jarPath & "\plantuml.jar;" & _
jarPath & "\plantumlskins.jar"" net.sourceforge.plantuml.Run -charset UTF8 -word """ & jarPath & "/"""
this is the line====> Shell (javaCommand)
' This sleep is needed, but we don't know why...
Sleep 500
commented
Dec 11, 2013
by
plantuml
(
298,440
points)
Strange...
What you can do:
1) Insert the following line *before* Shell (javaCommand) :
MsgBox javaCommand
This command will display the command line that Word tries to run
Could you send us a screenshoot of this display ? (plantuml@gmail.com)
2) Check that your macro level is to low.
3) Type "java" in a command line to check that java is running on your system.
Thanks,
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Related questions
Word 2013: Write to file error using the template
Error in Word 2010
Error when using whitespace in macro argument
Installing plant UML for Word on Mac
Autoscale not working any more in Word macro v27?
All categories
Question / help
(1,710)
Bug
(1,761)
Wanted features
(1,480)
Closed question / help
(89)
Closed bug
(53)
Closed feature request
(130)
Won't fix
(3)
Won't implement
(14)
Can't help
(10)
To be deleted
(10)
To be sorted
(431)
...