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
Localized Date format
Cisco ASA Logging Connections Increase
Any ideas how to create your own loadbalancer using linux?
Safari 'right-click' for "add image to iPhoto" missed
VB6 to VS2010 - Training Advice ?
Windows XP and Microsoft Outlook and Windows Installer problems
how to add decimal place in formula in seagate crystal report
OCE 9400 plotter doesn't start
Export Access 2010 Report to CSV with Headers?
Active Directory DNS records issue