Rename drawings tabs with model name

Library for macros
User avatar
nuevahola
Posts: 13
Joined: Tue Jan 04, 2022 5:21 pm
Answers: 0
Location: Spain
x 3
x 11

Rename drawings tabs with model name

Unread post by nuevahola »

Hi, i´m looking for a macro that renames all the tabs in a drawing with the name of the file that contains. Does anyone have some macro that accomplishes this task?.
Thanks.
User avatar
gupta9665
Posts: 413
Joined: Thu Mar 11, 2021 10:20 am
Answers: 25
Location: India
x 435
x 452

Re: Rename drawings tabs with model name

Unread post by gupta9665 »

Deepak Gupta
SOLIDWORKS Consultant/Blogger
User avatar
nuevahola
Posts: 13
Joined: Tue Jan 04, 2022 5:21 pm
Answers: 0
Location: Spain
x 3
x 11

Re: Rename drawings tabs with model name

Unread post by nuevahola »

I did it. But doesn't work
User avatar
gupta9665
Posts: 413
Joined: Thu Mar 11, 2021 10:20 am
Answers: 25
Location: India
x 435
x 452

Re: Rename drawings tabs with model name

Unread post by gupta9665 »

nuevahola wrote: Sat Jan 28, 2023 4:29 am I did it. But doesn't work
What does not work for you?
Deepak Gupta
SOLIDWORKS Consultant/Blogger
User avatar
nuevahola
Posts: 13
Joined: Tue Jan 04, 2022 5:21 pm
Answers: 0
Location: Spain
x 3
x 11

Re: Rename drawings tabs with model name

Unread post by nuevahola »

My mistake. I was selecting the wrong property. It works great!

Thanks.
Post Reply