S
shawshank247
Hello,
Is there a way to switch the calculation mode without having t
actually show the workbook? I am writing a program in VB and want t
turn the automatic calculation mode off while I input a bunch of data
then turn it back on after I finish inputting.
I created this hack so that it would work, but I would rather not hav
to make the workbook visible in order to do this.
wkbk.Windows("ExcelRef.xls").Visible = True
wkbk.Application.Calculation = xlCalculationManual
<inputting function>
wkbk.Application.Calculation = xlCalculationAutomatic
wkbk.Windows("ExcelRef.xls").Visible = False
Thanks
Is there a way to switch the calculation mode without having t
actually show the workbook? I am writing a program in VB and want t
turn the automatic calculation mode off while I input a bunch of data
then turn it back on after I finish inputting.
I created this hack so that it would work, but I would rather not hav
to make the workbook visible in order to do this.
wkbk.Windows("ExcelRef.xls").Visible = True
wkbk.Application.Calculation = xlCalculationManual
<inputting function>
wkbk.Application.Calculation = xlCalculationAutomatic
wkbk.Windows("ExcelRef.xls").Visible = False
Thanks