【发布时间】:2012-08-03 07:41:40
【问题描述】:
是否可以在 VBA 的条件编译中使用字符串常量?
例如:
#Const This_File_Concept="Chancleta"
'
#If This_File_Concept="Chancleta" then
''...Something happens
#End If
'
#If This_File_Concept="Auto" then
''...Something different happens
#End If
'
#If This_File_Concept="Freesbee" then
''...Another thing happens
#End If
谢谢!
【问题讨论】:
标签: excel vba ms-access outlook ms-word