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
Remote Web Workplace / RDP
Need RHEL Samba 3.0 authenticate against AD/LDAP environment for mapping share
Remote Desktop Services Manager snap-in hangs
horse racing racecards data feed
Duplicate Calendars in Outlook 2007
IE sometimes fails to connect, gets worse with time since reboot
HTML Multiselect Box
Assign the value to a script global variable from the Server side code
What is the next number of this number sequence? - General Math Question
Cisco ASA questions