web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / ファイルパスの取得して設定した変数からExc...
Power Apps
Unanswered

ファイルパスの取得して設定した変数からExcelを起動することができない。

(2) ShareShare
ReportReport
Posted on by
初めまして。
 
「フォルダー内のファイルを取得」のアクションから取得したファイルを「Excelの起動」のアクションを使用して起動したいのですが
以下エラーが出てしまいます。解決策を教えてください。
 
 
変数
 
 
 
アクションの詳細
 
 
Categories:
I have the same question (0)
  • EE-04041031-0 Profile Picture
    104 on at

    ❗ エラーメッセージの翻訳:

     

    「Excel ドキュメント 'Files'(ファイルに関連したエラー)を開くことができませんでした。」

    ➡ 「Excel ドキュメント 'Files' を開こうとしましたが、ファイルに関するエラーのため開けませんでした。」

     
     

    💡 主な原因の可能性:

     

    このエラーは次のような場合によく発生します:

     

    •  

      「フォルダー内のファイルを取得」アクションから渡されるのが、Launch Excel が期待する形式のファイル参照でない


    •  

      「ファイルのメタデータ」だけが渡されており、ファイル内容(バイナリ)ではない


    •  

      対象のファイルがExcelファイルでないか、アクセスできない状態になっている。



    •  
     
     

    ✅ 推奨される対処法:

     

    以下の手順を試してみてください:

     

    1.  

      「ファイル コンテンツの取得」を使用

       

      •  

        「フォルダー内のファイルを取得」のあとに、「ファイル コンテンツの取得」または「パスを使用してファイル コンテンツを取得」アクションを追加します。


      •  

        前のステップの「識別子」や「パス」を使います。



      •  

    2.  

      そのコンテンツを「Excel の起動」に渡す

       

      •  

        「ファイル コンテンツの取得」からの出力を「Excel の起動」に使います。


      •  

        入力されるファイルが.xlsx形式などの有効なExcelファイルであることを確認してください。



      •  

    3.  

      ファイルの形式を再確認

       

      •  

        本当にExcelファイル(.xlsxなど)であるかどうかを確認します。CSVやTXT形式では動作しないことがあります。

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard