I have tried many different way to select a worksheet in vba. Heres my code:
Set ws = tWB.Names("CC"
.Activate
now I also tried something like this:
Set ws = tWB.Worksheets(object required).Activate
now this is where I was thrown off, because they required a index which I thought was odd that I got a odbject not defined error. I believe that this is just something simple and im somehow not doing it right so any help would be great.
Set ws = tWB.Names("CC"
now I also tried something like this:
Set ws = tWB.Worksheets(object required).Activate
now this is where I was thrown off, because they required a index which I thought was odd that I got a odbject not defined error. I believe that this is just something simple and im somehow not doing it right so any help would be great.