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
Import text file - definition (field name, delimited, lng) based on a table
Split strings with RegEx
Quickr..How do I edit the tabs on the home page of my place? I want to add a tab
MySQL Rows to Columns by Group
unknown process - should I be concerned
Can I add multi-millions of records to SQL database while replication is on? Will it work?
call .rdl with store procedure with parameter
Access 2003 -> Word 2003 - have a question on code that works to save doc as pdf file...
Registry key property value
To Blob Cache or NOT?