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 recover from a XP pro reinstall power failure
ASA 5505 DMZ won't Access Internet
Vista - "Open With" Not Allowing An Associated Program To Be Selected By Browsing
Remote connectivity to Microsoft OCS 2007 R2 Fails
AAA server not on inside interface
Group Policy settings for BitLocker startup options are in conflict
Connect to exchange using FVS318 VPN Firewall
C# 2005 how to Change the Target .NET Framework Version of an Existing Project
Can plz anyone help for Jboss Clustering
compacting backend database