我想显示一个消息框,显示两件事:
1)hlookup计算的结果 2)一般文字
hloohup本身正在工作(我只用它测试了Msg Box)但我不知道如何连接“Text”+ hllokup结果。
错误是:无效的过程调用或参数
任何帮助都会非常感激!
这就是我现在所拥有的:
Sub bet_result()
Dim lookarray As Range
Dim rng2 As Range
Dim ws As Worksheet
Set ws = Sheets("XXX")
Set rng2 = ws.Range("C7")
Set lookarray = ws.Range("K5:Q38")
MsgBox rng2.Value & " " & "Text" & WorksheetFunction.Hlookup(rng2, lookarray, 34, False)
End Sub
答案 0 :(得分:0)
尝试添加变量并为其分配Hlookup值
protected override void OnModelCreating(ModelBuilder builder)
{
base.OnModelCreating(builder);
// Customize the ASP.NET Identity model and override the defaults if needed.
// For example, you can rename the ASP.NET Identity table names and more.
// Add your customizations after calling base.OnModelCreating(builder);
//Build identity
BuildIdentity(builder);
builder.ApplyConfiguration(new PersonMap());
builder.ApplyConfiguration(new ProjectMap());
}
对不起我对阿根廷的英语不好