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
Windows Updates failing on SBS 2008 - WSUS installed on machine
Is there a backup/disaster recovery solution that doesn't cost a fortune?
Error message when replying, sending, openning email in OWA
KMS is activating Win7 Pro but not Win 2008 R2 Enterprise
How to write the query that the table shows the results the way i want in mysql
Slowing down a moving clip that follows the mouse cursor
htaccess Partial Query String Rewrite
Read data from registry key not working
Anyone run an online backup software along side Ghost with no conflicts.
Call Procedure from VB6 and pass paremeters