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 as different user - exchange 2003/outlook 2003
Cross Domain Policy
The operation can't be completed.....
Basic Gateway Address
Help Button in MsgBox for MS-Access
Convert C into vb
How do I recreate the _msdcs.domain.com Forward Lookup Zone.
DOS Batch Turnkey system for Win95
Transport-level error / (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)
Web Server Maintenance Page redirect?