Passage paramétres Ole Excel
Forum rules
This forum is for discussing APL-related issues. If you think that the subject is off-topic, then the Chat forum is probably a better place for your thoughts !
This forum is for discussing APL-related issues. If you think that the subject is off-topic, then the Chat forum is probably a better place for your thoughts !
2 posts
• Page 1 of 1
Passage paramétres Ole Excel
Hello,
It is not for lack of having tried very numerous solutions but I did not find the way of crossing the parameters special collage under OLE Excel. Thank you for your help.
x←WAdh.Sheets.(Item('xxxxxxxxxxx')).(Range('A20:R31')).PasteSpecial('Paste:=xlPasteAll')
DOMAIN ERROR
Regards
Bertrand Delassus
It is not for lack of having tried very numerous solutions but I did not find the way of crossing the parameters special collage under OLE Excel. Thank you for your help.
x←WAdh.Sheets.(Item('xxxxxxxxxxx')).(Range('A20:R31')).PasteSpecial('Paste:=xlPasteAll')
DOMAIN ERROR
Regards
Bertrand Delassus
- Tranber44
- Posts: 34
- Joined: Mon Jan 11, 2010 4:46 pm
Re: Passage paramétres Ole Excel
Bertrand,
New syntax was introduced in Version 11.0 of Dyalog APL, controlled by the value of the system variable ⎕WX (http://help.dyalog.com/13.2/Content/Language/System%20Functions/wx.htm).
The default in a new version of APL is ⎕WX=3. Can you try the following and see if it works?
You can revert to the old behaviour by setting ⎕WX to 0 or 1, but I think it is a better idea to adapt your code to the improved syntax.
New syntax was introduced in Version 11.0 of Dyalog APL, controlled by the value of the system variable ⎕WX (http://help.dyalog.com/13.2/Content/Language/System%20Functions/wx.htm).
The default in a new version of APL is ⎕WX=3. Can you try the following and see if it works?
- Code: Select all
x←WAdh.Sheets[⊂'xxxxxxxxxxx'].Range[⊂'A20:R31'].PasteSpecial ⊂'Paste:=xlPasteAll'
You can revert to the old behaviour by setting ⎕WX to 0 or 1, but I think it is a better idea to adapt your code to the improved syntax.
-
Morten|Dyalog - Posts: 453
- Joined: Tue Sep 09, 2008 3:52 pm
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group