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
Remote Web Workplace different website address
VB.NET simple SendMail program error: System.Net.Mail.SmtpExcept
ion: Failure sending mail
is it possible virus affected VPN client spread virus in corporate network?
How to compress a string into a short representation in ASP.NET using C# or VB.NET?
Can't access Exchange 2003 OWA from Internet
Migrate SBS 2003 to Hyper-V
SqlDataAdapter InsertCommand not updating primary key value in dataset
Split String in C#
How to get an USB speaker to work with Eee PC 900 Xandros Linux
XenServer 5.5 The Storage repository is not available.