作成者カテゴリ返答の対象
公開
1122
02/20/2003 04:35 PM
文書リンクアイコン 添付したExcelファイルを直接読み込みたい
間違えました

再度、ごめんなさい。ロジックが少しおかしいですね。

strfilepath = "c:\samples\"
Set rtitem = doc.GetFirstItem( "Body" )
If ( rtitem.Type = RICHTEXT ) Then
 Set o = rtitem.EmbeddedObjects
 If ( o.Type = EMBED_ATTACHMENT ) Then
   strfilename = strfilepath & o.Source
   Call o.ExtractFile( strfilepath & o.Source )
 End If
End If
  :
  : 保存したディスク内のファイルを取得する
  :
Kill strfilename


[Previous Main Document]
添付したExcelファイルを直接読み込みたい (すぎうら)
. . Re:添付したExcelファイルを直接読み込みたい (1122)
. . . . Re: 添付したExcelファイルを直接読み込みたい (すぎうら)
. . . . . . Re:添付したExcelファイルを直接読み込みたい (1122)
. . . . . . . . 間違えました (1122) * 現在地 *
. . . . . . . . . . Re:添付したExcelファイルを直接読み込みたい (すぎうら)
[Next Main Document]