I'm using formulas:
wsheet.write(i, j, Formula('HYPERLINK(%s;"Link")' % click), docnm)
in my Excel files
and when it first opens up it goes into "Protected View". My formulas don't load until after I click "Enable Editing". Is there anyway to get my numbers to show up even if Protected Mode is on?
I found a similar topic on this link Protected View in Microsoft Excel 2010 and Python , but there aren't any useful answers.. Can someone help me please?
Complete code:
from xlwt import easyxf,Formula
import xlwt
wbook = xlwt.Workbook()
wsheet = wbook.add_sheet("MySheet")
wsheet.col(j).width = 17000
link="https://stackoverflow.com/"
click="http://ccwebviewer.ac.de.eu.ericsson.se/~"+excelbranch+link
click='"'+str(click)+'"'
linkName='"'+"LINK"+'"'
wsheet.write(1, 1, Formula('HYPERLINK(%s;%s)' % (click,linkName)))
wbook.save("excel.xls")