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
DCDIAG DC ERRORS
Can Competitive Local Exchange Carriers Offer Mobile Phone Service?
Does anyone know FBML or the basics of developing a FB app?
can i setup an application on a server without joining to a domain first?
Problem getting page with CURL and PHP
Example on How to use AddPrinterDriver or AddPrinterDriverEx with C#?
phpmailer errorInfo
asp.net: how would you insert the address 'location' into this hyperlink control
ASP.NET How to get picture images to display...in a LISTVIEW?
interview questions on SSIS