“show formulas” in excel using python & win32com
问题 How can display/show all of the formulas in an Excel workbook using Python3 and win32com.client, like I can do interactively with Cntrl-` I believe I have to use the Windows DisplayFormulas Property but I don't know how to access the ActiveWindow to do this in Python. Here is the code I have up to open a spreadsheet and the first workbook and save it: import win32com.client excel = win32com.client.Dispatch("Excel.Application") wb = excel.Workbooks.Open(wb_path) ws_index_list = [1] wb