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
RHEL command to see how much ram and hard drive in the box
Any ideas how to create your own loadbalancer using linux?
Outlook 2007/Mozilla Thunderbird Cannot Connect to Email Server
Trying to connect SSIS packages to Oracle database
troubles getting BETWEEN logic to work
This search script is presenting the option for Next 10 when there aren't any results. What do I need to add to not show when there aren't results?
Column border style problem
Export Access 2010 Report to CSV with Headers?
Having problems getting my VOIP setup working?
error when calling php/xml file in browser