Author Topic: Read excel (intact open files)  (Read 5620 times)

0 Members and 1 Guest are viewing this topic.

VovKa

  • Water Moccasin
  • Posts: 1631
  • Ukraine
Re: Read excel (intact open files)
« Reply #15 on: November 18, 2014, 05:32:49 PM »
almost. when we read file but from other sheet than file was saved we need to confirm exit - save or cancel.
Patrick_35 solved close here:
thanx
then we shall change
Code: [Select]
(vl-catch-all-apply 'vlax-invoke-method (list BookObj "Close"))to
Code: [Select]
(vl-catch-all-apply 'vlax-invoke-method (list BookObj "Close" :vlax-false))

kruuger

  • Swamp Rat
  • Posts: 635
Re: Read excel (intact open files)
« Reply #16 on: November 19, 2014, 03:15:06 PM »
almost. when we read file but from other sheet than file was saved we need to confirm exit - save or cancel.
Patrick_35 solved close here:
thanx
then we shall change
Code: [Select]
(vl-catch-all-apply 'vlax-invoke-method (list BookObj "Close"))to
Code: [Select]
(vl-catch-all-apply 'vlax-invoke-method (list BookObj "Close" :vlax-false))
after few tests all seams to be fine :)
thanks for your effort
kruuger