Microsoft
Software
Hardware
Network
Question : Error message when execute Macro
Hi Experts,
I need Experts help. When I run Macro2 “Sub CompileData()”, the error message pop-up as:
“subscript out of range” at this line:
“If ISEXIST(Sheets(CStr(wksNam
e)).UsedRa
nge.Column
s("a:b").V
alue, MySheets(i) & ";" & CLng(rCell”
Hope Experts could help me to rectify this error. Attached the workbook for Experts perusal.
Attachments:
ReportTest.xls
(149 KB)
(File Type Details)
xls
Answer : Error message when execute Macro
Hi,
replace
Sheets(CStr(wksName))
with
Sheets(CStr(Trim(wksName))
)
wherever in the code
Kris
Random Solutions
OCS 2007 R2 and Cisco call manager
Task Manager ASP.Net Web Application
PPT Taskkill Command VBS MsgBox
Exchange 2007 Service Pack 3 Install
Adding iSCSI store to existing ESXi 4.0 system?
Are Mac's easier to support than PC's? Why or why not?
How do I enable audio mapping over RDP on Windows 7?
Name of Antivirus software compiled
VT extensions vsphere 4.1
how to know and see all of predefined functions in TOAD editor for oracle?