Is there a way I can use one command button to trigger another command button?

D310633

New Member
Joined
Apr 26, 2013
Messages
9
Hi Good day!

I created two Command Buttons both are in one Sheet.
The first button copy and pastes a range of cells in one row.
Then, I created another button that creates an information and paste it in one of the cells that is being copied by the first button.

I am thinking about a possiblity that if in case I forgot to click the second button the information that will be copied by the first button will be incomplete.

May I kindly ask your recommendations if possible to trigger the 2nd command button when I click on the 1st command button?

I am new to VBA, I know there is a shorter way on this... Hehe... I'm just trying to explore the possibilities because it's fun.

I'm hoping I was able to clearly state my request.


Thanks!
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Woah!!!!

That was EASY!!!!!!

You rock!!!!

It really worked... I can continue with my project now....


Thank you very much!!!!
 
Upvote 0

Forum statistics

Threads
1,226,724
Messages
6,192,682
Members
453,746
Latest member
Bruce at Pubdarts

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top