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
SEO // Useful Tool-Assistance?
How to view .stp or .wsp files in Microsoft Office sharepoint designer mode
Sonicwall Pro230
PHP calling URL (which domain got me here?) PATH_INFO?
How can i setup IIS on windows server 2008
PXE-E55: ProxyDHCP service did not reply to request on port 4011 Using SCCM 2007
Where does this code start?
Column Name in query
Error event occuring since bringing up new HubCAS sever
obtain source (/usr/src) for 8.0-RELEASE-p3