早教吧 育儿知识 作业答案 考试题库 百科 知识分享

VBA的语法错误,怎么纠正呢?word1和word2是已经求出来的值,分别是8和2013,只是想代入这个句子当中.sentence=Todayisthe"word1&"ofDecember,intheyear"&word2(错误)

题目详情
VBA 的语法错误,怎么纠正呢?
word1 和word2 是已经求出来的值,分别是 8 和2013,只是想代入这个句子当中.
sentence= Today is the" word1& "of December,in the year" & word2 (错误)
▼优质解答
答案和解析
sentence= Today is the" word1& "of December, in the year" & word2 (错误)
sentence= "Today is the" & word1 & "of December, in the year" & word2 (正确)