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
Build and run of Actuate reports
Converting RTF to PDF on the fly.
AJAX load HTML into DIV
Database structure - Coldfusion - storing file type
How to uninstall and clean up the Huawei HSDPA USB modem driver?
PVST
Can you explain this syntax please?
multiple users having outlook and phones checking one IMAP mailbox, is it a problem?
Exchange 2010 RPC error
Need to uninstall winzip using group policy