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 do I write a firewall?
Delete USB Virtual Printer Ports
cannot receive email
Problems installing the AjaxControlTooKit.dll
Why does my HP Desktop have power options for being plugged in and not plugged in?
IIS FTP service wont restart upon server reboot
Benefits of using Broadcom Nic with iSCSI enabled
Is there anyway to reserve some resources in windows server so that RDC will still work in the event network/cpu is exhausted?
asp.net: My problem is, I am using an ajax extender Calendar to enter BeginDate & EndDate values
BES 5.0.1 and Exchange 2010