sub selectdays()
set daystart=activedocument.variables("start")
set dayend=activedocument.variables("end")
dim startstring,endstring,rangstring
startstring=">="&daystart.getcontent.string
endstring="<="&dayend.getcontent.string
rangstring=startstring&endstring
set f=activedocument.fields("月")
f.select rangstring
end sub
转载于:https://www.cnblogs.com/hb56-QlikView/archive/2010/03/31/1701237.html