ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Get WorkSheet Name fails without a reason (https://www.excelbanter.com/excel-programming/394172-get-worksheet-name-fails-without-reason.html)

Dileep Chandran

Get WorkSheet Name fails without a reason
 
Hello Masters,

I have a macro which will get the list of worksheet names. It works
fine untill I add some more worksheets and run it again.


The craziest thing is that if I go to the code and simply add a space
of delete a space, or just cut and paste the code, it works fine.


Any idea what could be wrong??


Thanks in advance for any help


-DC


Mike H

Get WorkSheet Name fails without a reason
 
see your other thread

"Dileep Chandran" wrote:

Hello Masters,

I have a macro which will get the list of worksheet names. It works
fine untill I add some more worksheets and run it again.


The craziest thing is that if I go to the code and simply add a space
of delete a space, or just cut and paste the code, it works fine.


Any idea what could be wrong??


Thanks in advance for any help


-DC




All times are GMT +1. The time now is 12:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com