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
centOS VPS setup - FTP access?
Auto login Windows 7
Need to reinstall OS on a laptop
Windows Small Business Server 2008 Console Updates
OWA no longer working after Exchange 2010 rollup 4
Files scp'ed from Unix servers to Win XP (running WinSSHD V5 ) could not be deleted on the PC
VMWare ESXI training material?
Enable tcp_nodelay
How to generate an HTML file if I've got the HTML body?
ASP.NET Membership minRequiredNonalphanumeric
Characters
Problem