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
Icon error message unknown
mail.CAF-fca.org #5.5.0 smtp;550 No such user - psmtp
Dates Don't show up when Output to Excel
connect an iPhone to Windows SBS 2003
SQL SSL error
OWA Setup
What is my wifi network password?
Problem with Exchange 2010 " initialization failed"
Keystore file to sign jar via a thawte code signing certificate
Can't Remote Desktop to Forefront TMG Server