Method
#Refresh screen
#xlwings
app.screen_updating=False
#Show warnings
#xlwings
#app.display_alerts=False
#Call worksheet functions
#xlwings
#app.api.WorksheetFunction.CountIf(app.api.Range(‘B2:F5′),’>8′)
Sample Code
#Other commonly used properties
import xlwings as xw #Import the xlwings package
app=xw.App()
#Refresh screen
#xlwings
app.screen_updating=False
#Show warnings
#xlwings
#app.display_alerts=False
#Call worksheet functions
#xlwings
#app.api.WorksheetFunction.CountIf(app.api.Range('B2:F5'),'>8')
#app.kill()
Leave a Reply