After running the code i'm only getting the formula and not the value
Asked
Active
Viewed 171 times
-2

Vega
- 27,856
- 27
- 95
- 103
-
openpyxl doesn't use Excel at all, so... I guess it does what you want out of the box? – ChrisGPT was on strike Jun 05 '21 at 17:11
1 Answers
0
When you load the workbook, set the flag data_only
to True
wb = openpyxl.load_workbook(filename, data_only=True)

Joe Thor
- 1,164
- 1
- 11
- 19
-
I believe that is possible, but I would recommend researching it before opening a question. It also is beyond the scope of this specific question. Here is an article that goes into writing using openpyxl: https://www.tutorialspoint.com/read-and-write-to-an-excel-file-using-python-openpyxl-module – Joe Thor Jun 04 '21 at 10:56
-