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
Inkjet printer recommendation for the home wanted
Anyone used OEM for monitoring PeopleSoft application and peoplesoft databases?
Offline address book cannot be downloaded after moving mailbox to exchange 2010
Create folder / Start Menu Programs Shortcut / Set permissions
ASP.NET unable to cast object of type
New Windows 7 workstations in existing SBS 2003 domain
WiFi / wireless connection dropped & laptops need to be rebooted to reconnect to 2Wire broadband modem : Event id 5005
xp sp2 clients wont log or ping server 2003
Difference between Icefaces,myfaces,richfaces
in JSF?
Watchguard high collision rate