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
Is there a way to wrap text in a floated div displayed inline
HP z200 Workstation Windows 2008 R2 'PCI serial port' driver and 'PCI Simple Communications controller' driver needed
How many keywords is too many in the meta data?
acronis disk director server 10
How to retrieve a Joomla database password - GoDaddy installation
div id
Add Spanish dictionary in to Office 2007 english
copy outlook express from one pc to new windows 7 pc into outlook 07?
SBS 2008 Small Business Server Internet Activity
Dlookup getting #name Error with subform