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
send mail to undisclosed receipent in lotus notes
Delphi 6 not recompiling .pas files
When I encrypt/encode a string using codeigniter encryption class, it is different everytime, why?
Browser redirecting to various sites but HijackThis and Malwarebytes scans seem clean
Anyone have a write-up of how to use BESR 2010 and Bitlocker together?
How send an array by url with php???????
SCCM Scan agent fails with Scan Failed for ToolUniqueID with error 0x80070005
Worldspan - calling worldspan web service
Windows XP Taskbar won't auto-hide
Changing font of one datamember value in a dropdown listbox