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
Running the System Update readiness tool.
HP Laserjet 2420 not printing the first time when connected via usb from a laptop
how can i translate gujarati sentence into english sentence ??
Sending email from ASP.Net 2.0
How to set the forecolor a column in datagridview.vb.net 2005 windows
Craniosacral therapy risks
Clients not connecting to WSUS
ipod music / itunes
Remote Web Workplace - Windows Server 2008
Function in excel