I am working with Excel, Python, and Visio and when I run this simple code, I get an error of
com_error: (-2147023174, 'The RPC server is unavailable.', None, None)
This is the code I am running:
for row in range(1,sheet3.nrows):
if sheet3.cell_value(row,13) == "":
continue
if currentDate in dateList:
x1 = sheet3.cell_value(row,14)
x2 = sheet3.cell_value(row,15)
y1 = sheet3.cell_value(row,16)
y2 = sheet3.cell_value(row,17)
x1new = x1 - .4
x2new = x2 - .4
borderColor = 0
borderType = 0
colorValue = sheet3.cell_value(9,10)
colorFunc(x1new,y1,x2new,y2)
shape.Cells('FillforegndTrans').FormulaU = sheet3.cell_value(7,10)
Does anyone know of a way to fix this?