I have one query as i am running below set of do while VBA code and getting error as code is not able to find exact sheet name as "New Consolidated Forecast " (which have space at last in the sheet name).
Also some of the excel templates have sheet name as "New Consolidated Forecast" (without space).
So is there any way to do the compilation as dynamic no matter that particular sheet name have space or not.
VBA Code Screenshot:
ErrorImage:
Thanks for you help in advance
Also some of the excel templates have sheet name as "New Consolidated Forecast" (without space).
So is there any way to do the compilation as dynamic no matter that particular sheet name have space or not.
VBA Code Screenshot:
ErrorImage:
Thanks for you help in advance