novabond
New Member
- Joined
- Mar 26, 2022
- Messages
- 36
- Office Version
- 365
- Platform
- Windows
hello.
(i dont write code but, can tweak obvious referencies within code.....)
I have been looking online most of today but, I cant find existing code, which i can modify to do something like this:
1)
let say the set up is:
in worksheet "CommandButton Names"
i have a list A1:D20 containing info to change CoomandButton (Name) -
A1:A20 = within Userform (Name)
B1:B20 = from current CommandButton (Name)
C1:C20 = to new CommandButton (Name)
D1:D20 = and new CommandButton Caption (caption change is a bonus, it isnt crucial if complicates things)
e.g.
iit would be ok to do one new userform at a time too, if that makes sense... or any other way you know that will achieve the outcome I want of auto renaming UserForm CommandButtons...
2)
It would also be great, if there was a macro that could export the details of the UserForm CommandButtons too, that would be really useful but, not important...
TIA!....
(i dont write code but, can tweak obvious referencies within code.....)
I have been looking online most of today but, I cant find existing code, which i can modify to do something like this:
1)
let say the set up is:
in worksheet "CommandButton Names"
i have a list A1:D20 containing info to change CoomandButton (Name) -
A1:A20 = within Userform (Name)
B1:B20 = from current CommandButton (Name)
C1:C20 = to new CommandButton (Name)
D1:D20 = and new CommandButton Caption (caption change is a bonus, it isnt crucial if complicates things)
e.g.
A | B | C | D | |
1 | within Userform (Name) | current CommandButton (Name) | new CommandButton (Name) | new CommandButton Caption |
2 | UserForm_B | CommandButton_A_1 | CommandButton_B_1 | Caption_B_1 |
3 | UserForm_B | CommandButton_A_2 | CommandButton_B_2 | |
4 | UserForm_C | CommandButton_A_1 | CommandButton_C_1 | Caption_C_1 |
iit would be ok to do one new userform at a time too, if that makes sense... or any other way you know that will achieve the outcome I want of auto renaming UserForm CommandButtons...
2)
It would also be great, if there was a macro that could export the details of the UserForm CommandButtons too, that would be really useful but, not important...
TIA!....