質問編集履歴
4
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -41,7 +41,8 @@
|
|
41
41
|
|
42
42
|
### 試したこと
|
43
43
|
|
44
|
-
下記サイトにあった質問の回答の
|
44
|
+
下記サイトにあった質問の回答の中で、DispatchではなくEnsureDispatchがありそれを使うようなものがあった。
|
45
|
+
試したが下記エラー発生。
|
45
46
|
|
46
47
|
エラー
|
47
48
|
```
|
3
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -41,7 +41,7 @@
|
|
41
41
|
|
42
42
|
### 試したこと
|
43
43
|
|
44
|
-
下記にあった回答のうち、DispatchではなくEnsureDispatchがあるらしいので試したが下記エラー発生。
|
44
|
+
下記サイトにあった質問の回答のうち、DispatchではなくEnsureDispatchがあるらしいので試したが下記エラー発生。
|
45
45
|
|
46
46
|
エラー
|
47
47
|
```
|
2
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -61,5 +61,5 @@
|
|
61
61
|
```
|
62
62
|
|
63
63
|
参考
|
64
|
-
[win32com Excel.Application can't open documents anymore](https://stackoverflow.com/questions/41492210/win32com-excel-application-cant-open-documents-anymore)
|
64
|
+
[stackoverflow win32com Excel.Application can't open documents anymore](https://stackoverflow.com/questions/41492210/win32com-excel-application-cant-open-documents-anymore)
|
65
65
|
|
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -41,7 +41,25 @@
|
|
41
41
|
|
42
42
|
### 試したこと
|
43
43
|
|
44
|
-
下記にあった回答のうち、DispatchではなくEnsureDispatchがあるらしいので試したが
|
44
|
+
下記にあった回答のうち、DispatchではなくEnsureDispatchがあるらしいので試したが下記エラー発生。
|
45
45
|
|
46
|
+
エラー
|
47
|
+
```
|
48
|
+
Traceback (most recent call last):
|
49
|
+
File "C:\Users\user01\AppData\Local\Programs\Python\Python38-32\lib\site-packages\win32com\client\gencache.py", line 621, in EnsureDispatch
|
50
|
+
ti = disp._oleobj_.GetTypeInfo()
|
51
|
+
pywintypes.com_error: (-2147418111, '呼び出し先が呼び出しを拒否しました。', None, None)
|
52
|
+
|
53
|
+
During handling of the above exception, another exception occurred:
|
54
|
+
|
55
|
+
Traceback (most recent call last):
|
56
|
+
File "c:/Users/user01/Desktop/a.py", line 5, in <module>
|
57
|
+
excel = EnsureDispatch("Excel.Application")
|
58
|
+
File "C:\Users\user01\AppData\Local\Programs\Python\Python38-32\lib\site-packages\win32com\client\gencache.py", line 633, in EnsureDispatch
|
59
|
+
raise TypeError(
|
60
|
+
TypeError: This COM object can not automate the makepy process - please run makepy manually for this object
|
61
|
+
```
|
62
|
+
|
63
|
+
参考
|
46
64
|
[win32com Excel.Application can't open documents anymore](https://stackoverflow.com/questions/41492210/win32com-excel-application-cant-open-documents-anymore)
|
47
65
|
|