如何在另一个表中不包含其他列的列中快速查找值
问题是在“执行立即”stmt中动态构建的查询速度和测试表的平均大小test_table = 40mln和test_table2 = 1mln
不幸的是,我已经能够找到类似的主题,我将不胜感激任何帮助
我的疑问:
Sub DemoFailure()
Dim myOleObj As OLEObject
Dim myRng As Range
Set myRng = ThisWorkbook.Sheets("Sheet1").Range("C4")
ThisWorkbook.Sheets("Sheet1").Select
ThisWorkbook.Sheets("Sheet1").Activate
With ActiveSheet
myRng.RowHeight = 20
Set myOleObj = .OLEObjects.Add(ClassType:="Forms.CheckBox.1", DisplayAsIcon:=False, Left:=myRng.Left + 2, Top:=myRng.Top + 2, Width:=myRng.Width - 4, Height:=myRng.Height - 4)
With myOleObj
'.Object.Caption =
.Name = "CheckBox" & CStr(ii)
End With
End With
UserForm1.Show vbModeless
End Sub