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
DNS Server 2008 SBS errors
Raid 1 Rebuild Failed - Adaptec 1210SA
My laptop hp pavilion dv9000 suddenly doesnt start
Change Username on SBS2008
How can I improve the RHEL TCP performance
Droid Incredible Exchange Synchronization
How to get rid of dirty shut down state when recovering edb file
ASP.Net Drop Shadow Effect
providing credentials in Powershell without user action
Exchange Store Restore