Unable to refernce a cell into an excel formula using openpyxl

from openpyxl import Workbook wb = Workbook() ws = wb.create_sheet(“Summary”) ws.cell(5,8).value = f’=PERCENTILE({ws.min_row}:{ws.max_row}, {ws.cell(6,6)}) So i want the formula to be dynamic. dynamic in the sense that the value results from this formula should change when the cell(6,6) value is changed just like it happen in excel but here in this case the cell is … Read more

How to call python script on excel vba?

Trying to call a python script on Vba and I am a newb. I tried converting the main script to an exe using py2exe and then calling it from VBA (shell) but the main script calls other scripts therefore it becomes complicated and I messed it up (my exe is not functional). Besides, the the main script is a large file and I do not want to revise it a lot.