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
Start applications from command promt
Can I use server scripts with iPad?
Spell check two languages at the same time
mcafee 4.5 issue cant see the agent logs
Windows 7 Professional 64 bit hanging on Welcome Screen
IBM System x3400 8K-I RAID Controller query
Print pdf, word, and excel email attachments from inbox folder
Thread v/s Runnable
Rpc over Https
random number