G
Guest
I'm doing some copying and pasting into a PowerPoint presentation and have a
problem with the following:
Set XLSheet = XLBook.Sheets(sName)
and I get an error on only one value of sName. I have sName dimensioned as
a string. What I want sName to be is the sheet code name, but I think it's
behaving like the actual sheet name. What do I need to change in this code
so that it sees sName as the code name and not the sheetname?
Thanks
problem with the following:
Set XLSheet = XLBook.Sheets(sName)
and I get an error on only one value of sName. I have sName dimensioned as
a string. What I want sName to be is the sheet code name, but I think it's
behaving like the actual sheet name. What do I need to change in this code
so that it sees sName as the code name and not the sheetname?
Thanks