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
How do I (re-)enable heap memory allocation within a CWinThread-derived class thread function invoked directly from InitInstance?
Issues with SCCM CCMSetup client
Manage Contacts in Active Directory / Exchange Distribution Lists
Not able to connect SMB to Tiger Server
arcserve issue
Removing the "Dot" From an Unordered List
Sharepoint Webpart page load event issue
How to Show Up image Use this Script please Help
Integrating MAC OS server and Windows Active Directory
imac osx 10.5 - Does not boot; cannot find harddrive. Getting a folder icon wid a question mark flashin at startup