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
windows permissioning
Exchange 2010 on a domain controller 2008 R2 for 2 users?
Check each machine to see the logged in user IE setting on which configuration they use.
Flash Viewer System Requirments
Exchange 2010 and Outlook 2003 subfolder display bug
Teaching iPhone app creation...Any advice?
MS Access global event handler
what does this javascript code do?
mDameon fail over / DSR ?
Datareader object is already open message