I need to send keys to excel to refresh formulas.
What are my best options?
I am already using Openpyxl but it does not satisfy all my needs.
I need to send keys to excel to refresh formulas.
What are my best options?
I am already using Openpyxl but it does not satisfy all my needs.
If this still helps, you can use from pywin32 (which should be a default package) to use win32com.client.
Sample code:
import win32com.client
xl = win32com.client.Dispatch("Excel.Application")
xl.sendkeys("^+s") # saves file
Use "%" to access alt so you can get hotkeys.