Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Excel zoom error
#2
The problem is that QM does not have a bool variable type. Often COM functions accept int for bool parameters, but not in this case.

Macro Macro2769
Code:
Copy      Help
ExcelSheet es.Init
es.ws.UsedRange.Select
VARIANT v.vt=VT_BOOL; v.boolVal=TRUE
es.ws.Application.ActiveWindow.Zoom=v


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)