Mutouさん

On Sat, 9 Jan 2016 23:24:35 +0800, Mutou Sage <mutous...@gmail.com> wrote:
> DDE関数から得られている値がリアルタイムで表示されているセル
> (B3,B4が目的のセルとします)
> の内容を
> 
> # B3,B4
> 5,8
> 18,3
> 4,23
> (続く)
> 
> といった感じに、たとえば10秒おきなどと時間感覚を定めて
> csvファイルの中に連続して書き出させていくにはどうすればよろしいでしょうか?
BASICマクロでやろうとするなら、append modeでターゲットのCSVファイルをOpen[1]
して、Write[2]でセルの値を書き出し、10秒間待つためにWait[3]を使うことで実現
できるのではないでしょうか。

[1] https://help.libreoffice.org/Basic/Open_Statement_Runtime/ja
[2] https://help.libreoffice.org/Basic/Write_Statement_Runtime/ja
[3] https://help.libreoffice.org/Basic/Wait_Statement_Runtime/ja

-- Takeshi Abe

-- 
Unsubscribe instructions: E-mail to users+unsubscr...@ja.libreoffice.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/ja/users/
All messages sent to this list will be publicly archived and cannot be deleted

メールによる返信