预期编译错误数组 - Ubound - VBA

时间:2015-05-07 15:28:36

标签: excel vba

我遇到错误预期编译错误数组。我是否正确使用Ubound?我应该在开幕时声明MyApp::Application.routes.draw do # other routes … root :to => 'admin#dashboard', :constraints => RouteConstraints::AdminRequiredConstraint.new root :to => 'home#welcome', :constraints => RouteConstraints::NoUserRequiredConstraint.new end 声明myarray("Measurement", "", "Nominal", "Low", "High", "", "")吗?如果是的话那我该如何处理其余的陈述呢?

Dim

谢谢

1 个答案:

答案 0 :(得分:5)

Excel Help:Array Function:返回包含数组的Variant。

Dim myarray As String

更改为

Dim myarray As Variant