Thread: [Solved] Excel sheets
View Single Post
 
Old 04-15-2012, 10:31 PM
Catalin.B Catalin.B is offline Windows Vista Office 2010 32bit
Expert
 
Join Date: May 2011
Location: Iaşi, Romānia
Posts: 386
Catalin.B is on a distinguished road
Default

Obviously, you have used spaces in sheet names. You do not give details, but i guess you have multiple words sheet names.
Change this part of the code:
SubAddress:= Wks.Name with:
SubAddress:= "'" & Wks.Name & "'"
to handle this error....
Reply With Quote