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
Exchange Down, MSExchangeAL 8231, FSMO Error 1355 All GC's Down
which is the best website to learn stored procedure ??
SSG5 VPN Routing, internal LAN route works, VPN route doesnt.
Crystal Reports Xi - Sorting a CrossTab Report by a Summary Field
Best Website to Collect Photos
Pass URL Parameter to multiple iFrames in ASP
Google Chart corechart help
Cisco 2950 Vlan for Voice
How do I charge for a job?
Symantec Endpoint Protection - SID 23615 HTTPS Tidserv Request 2 Detected