krodriguez
Board Regular
- Joined
- Jul 11, 2012
- Messages
- 119
Hello, I have a code where I'm getting an error on my array ... the code works perfect when array is like this
For Each Ws In Sheets(Array("RLN-Net Realization", "RLN-Red Rev", "RLN-COGS"))
But when I add and extra sheet
For Each Ws In Sheets(Array("RLN-Net Realization", "RLN-Red Rev", "RLN-COGS", WNX-CORP")) I get the error
The name is of the sheet is exactly the same as the one in the code but for some reason the error comes out.
For Each Ws In Sheets(Array("RLN-Net Realization", "RLN-Red Rev", "RLN-COGS"))
But when I add and extra sheet
For Each Ws In Sheets(Array("RLN-Net Realization", "RLN-Red Rev", "RLN-COGS", WNX-CORP")) I get the error
The name is of the sheet is exactly the same as the one in the code but for some reason the error comes out.