Forum Discussion
shankar_r
Community Hero
try this line instead of your, it should work.
sheet2 = book.Sheets.Item("Sheet2")
forrestaustin
7 years agoContributor
When I try that suggestion I get the following error: Python runtime error
TypeError: 'IdispatchIndexedPropertyWrapper' object is not callable
Do you know how I can fix this?
- tristaanogre7 years agoEsteemed Contributor
Try
sheet2 = book.Sheets.Item["Sheet2"]
- forrestaustin7 years agoContributor
Hi Tristan, did you see my error I get when I try that?
- tristaanogre7 years agoEsteemed Contributor
Yes, I did... which is why I suggested a change... change from () to [].
Related Content
Recent Discussions
- 6 hours ago
- 7 hours ago
- 12 hours ago