Print a variable

2019-10-07 16:51发布

At first please check this thread -> Adding a variable inside VLookUp

Still doesn't work..

End Sub

2条回答
The star\"
2楼-- · 2019-10-07 17:14

Just set the a different value for the temp-variable and the Label:

temp = "Temp" + MonthNameUpper + "''" + CStr(MonthView1.Year - 2000)
Label3 = "Temp" + MonthNameUpper + "'" + CStr(MonthView1.Year - 2000)
查看更多
贪生不怕死
3楼-- · 2019-10-07 17:18

Try this line temp = "Temp" + MonthNameUpper + "'" + CStr(MonthView1.Year - 2000) instead temp = "Temp" + MonthNameUpper + "''" + CStr(MonthView1.Year - 2000)

查看更多
登录 后发表回答