Hello: I am building a macro that works with multiple other files. It is contained in the personal.xlsb file. However, when I refer to the worksheets in the other files, I'm able to use the Name property -- for example "New Sheet" -- without a problem. But when I try to use the CodeName property -- for example, "Sheet1" -- it doesn't work.
I have a feeling it has to do with the personal.xlsb file, but I'm not sure. Any ideas?
I did fine something here (https://www.mrexcel.com/forum/excel...b.html?highlight=Personal.xlsb+sheet+codename) but I still want any other info.
I'm trying to use both the CodeName property and the personal.xlsb as a best practices. Am I on the right track here?
Thanks so much in advance for any help!
Wayne
I have a feeling it has to do with the personal.xlsb file, but I'm not sure. Any ideas?
I did fine something here (https://www.mrexcel.com/forum/excel...b.html?highlight=Personal.xlsb+sheet+codename) but I still want any other info.
I'm trying to use both the CodeName property and the personal.xlsb as a best practices. Am I on the right track here?
Thanks so much in advance for any help!
Wayne