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
Data Validation in Excel 2007
FireBird stored procedure
Converting xcel files to html
Identifying creator of fake facebook page
Factory defaults on a linksys WAG 120N Modem Router
Wireless Access Point - Hard Plastics Protective Cover
Previous Month-end Date based on Date in Text Box
rsync with One host in DMZ
How do I combine two separate powerpoint template files into one?
SCCM Software Report By Major Revision