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
How to enable/license terminal server
How does Windows 7 detect Internet access?
Email sent to Tiscali email addresses bouncing with No PTR record error
VNC server Ubuntu 10.04
Firebox X500 - Where to start....
Link to PDF files from DVD Menu
Can't open to a specified PDF page in IE 8
Fading in/out a popup Window in Flex 4.0
Sharing Access File
Cant move or purge mailbox