MS Excel VBO 打开工作簿操作失败
MS Excel VBO Open Workbook Action fails
我正在尝试从存储在 collection 中的文件路径中打开 excel 的实例。目前我正在使用 "read Collection Field" 操作从我的 collection 中获取我的文件路径。该操作将文件路径存储在数据项中。然后我使用 "Open Workbook action through the Excel VBO and referencing the data item to give the correct file path I wish to use. However, when I get to that action, I receive this message "Internal : Could not 运行 the object because one of code stages has a compile error, use Check for Errors for a list of problems”。问题是当我检查错误部分时没有错误。
如果到目前为止您已成功将文件路径捕获到数据项中,为了使用它,请先使用 Excel VBO "Create Instance" 并确保创建一个句柄。然后使用 Excel VBO "Open Workbook" 使用相同的句柄和数据项(文件路径)。这应该打开工作簿。最后,如果要显示工作簿,请使用 Excel VBO "Show"(使用相同的句柄)。目前失败的原因可能是因为没有指向活动实例的指针,即句柄。
我正在尝试从存储在 collection 中的文件路径中打开 excel 的实例。目前我正在使用 "read Collection Field" 操作从我的 collection 中获取我的文件路径。该操作将文件路径存储在数据项中。然后我使用 "Open Workbook action through the Excel VBO and referencing the data item to give the correct file path I wish to use. However, when I get to that action, I receive this message "Internal : Could not 运行 the object because one of code stages has a compile error, use Check for Errors for a list of problems”。问题是当我检查错误部分时没有错误。
如果到目前为止您已成功将文件路径捕获到数据项中,为了使用它,请先使用 Excel VBO "Create Instance" 并确保创建一个句柄。然后使用 Excel VBO "Open Workbook" 使用相同的句柄和数据项(文件路径)。这应该打开工作簿。最后,如果要显示工作簿,请使用 Excel VBO "Show"(使用相同的句柄)。目前失败的原因可能是因为没有指向活动实例的指针,即句柄。