我有一个Xl格式的宏,其中包含以下代码 Sub fileDelimiter(wb As Workbook) Dim myRecordxlUp).Row If lastRow > 1 Then 'Debug.Print el_coll(Left(wb.Name, 5))
dataElementName = el_coll(Left(wb.Name,
我正在尝试使用.item()访问集合中的数据。我尝试做的是在收集函数fncPopCcyLst中收集数据,并在cbSortCcy中通过.item(1)访问它,以获得行号。这是一个测试,看看我是否可以在我的集合中存储几个数据并通过.item()访问它们。但是,我得到一个VBA运行时错误'5‘。有没有人能善意地指导我做错了什么?谢谢。 Exit F
我在使用Access中的VBA模块在excel电子表格中创建新表格时遇到了问题。= CurrentDb
Dim wb As Excel.WorkbookSet xlApp= New Excel.Application
Set wb = xlApp.Workbooks.Open(CurrentProject.Path & "\Export