Ejecucion Macro cuando hay varios libros abiertos

%3CLINGO-SUB%20id%3D%22%5C%26quot%3Blingo-sub-3138972%5C%26quot%3B%22%20slang%3D%22%5C%26quot%3Bes-ES%5C%26quot%3B%22%3EMacro%20execution%20when%20multiple%20workbooks%20are%20open%26lt%3B%5C%2Flingo-sub%26gt%3B%3CLINGO-BODY%20id%3D%22%5C%26quot%3Blingo-body-3138972%5C%26quot%3B%22%20slang%3D%22%5C%26quot%3Bes-ES%5C%26quot%3B%22%3E%3CP%3EWhen%20there%20are%20several%20books%20open%20and%20some%20of%20them%20have%20the%20same%20macro%20name%20but%20different%20function%20is%20executed%20the%20one%20that%20appears%20in%20the%20first%20place%20in%20alphabetical%20order%20even%20if%20it%20is%20from%20another%20book.%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22%5C%26quot%3Blia-inline-image-display-wrapper%22%20lia-image-align-inline%3D%22%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Fgxcuf89792%2F%5C%26quot%3Bhttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F346372i23CB134D134E188D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%5C%26quot%3B%22%20role%3D%22%5C%26quot%3Bbutton%5C%26quot%3B%22%20title%3D%22raesca_0-1644347821236.png%22%20alt%3D%22%5C%26quot%3Braesca_0-1644347821236.png%5C%26quot%3B%22%20%2F%3E%26lt%3B%5C%2Fspan%26gt%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3ECan%20you%20set%20the%20option%20to%20run%20the%20macro%20%22%3CSTRONG%3EThis%20workbook%26lt%3B%5C%2FSTRONG%26gt%3B%22.%26lt%3B%5C%2FP%26gt%3B%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3EThank%20you%26lt%3B%5C%2FP%26gt%3B%26lt%3B%5C%2Flingo-body%26gt%3B%3CLINGO-LABS%20id%3D%22%5C%26quot%3Blingo-labs-3138972%5C%26quot%3B%22%20slang%3D%22%5C%26quot%3Bes-ES%5C%26quot%3B%22%3E%3CLINGO-LABEL%3EMacros%20and%20VBA%26lt%3B%5C%2Flingo-label%26gt%3B%26lt%3B%5C%2Flingo-labs%26gt%3B%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3C%2FLINGO-SUB%3E
Occasional Visitor

Cuando hay varios libros abiertos y alguno de ellos tienen el mismo nombre de macro pero diferente funcion se ejecuta la que aparece en primer lugar por orden alfabetico aunque sea de otro libro.

raesca_0-1644347821236.png

 

¿se puede fijar la opcion de que se ejecute la macro "Este libro".

 

Gracias

0 Replies