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
How to improve the email performance in C#
Default parameter to max date
Assigning a GPO to specific users and one Server only ?
Cisco VPN client for Windows, use both RSA SecurID soft token and hard token
Iterating through a PDF file (stepping through) for validation purposes
Crystal report 2008, draw graph with huge of data.
Split PDF itextsharp - File Size
parsing XMLDOM
setup Xsan with couple of Apple macs final cut pro
drive mapping not working?