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
Please explain me this javascript example about the DOM
Exchange 2010 Antivirus Options
Internet Browser disabled - message is "Hyper Bar 1"
window 7 OS: blank (black) screen only, as it logs in
Where is the Default Printer set in Crystal Reports?
Oracle qry on system tables
Access Cheker Web part not working with MOSS SP2 with CU April 2010
explanation of httpcontext needed
Exchange 2003 on SBS 2003 Active Sync and Blackberry/iPhone Configuration Help Needed
DC keeps rebooting- 2003 server!