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
"Ad Zoo .Net" ??
exchange 2010 missing" server configuration"
Insert into MySQL Table from MSSQL Insert Trigger
Flash device Operating System
How to enforce using Citrix Universal Print Driver in Citrix
MacMail & Exchange Public Folders - How to access them? I don't see them...
HP-UNIX - compressing/zipping files that are 31GB
Optimize Query on Table with million records
Copy Folder / Files From Corrupt Disk In Linux (Kubuntu)
Find Label in Datalist within Gridview