How to use a Button to fill blank cells with a text value from another?

curtistomas

New Member
Joined
Mar 26, 2018
Messages
2


I am a beginner at VBA and I've spent a lot of time trying to search for help on solving this issue I am having...

I am trying to design a worksheet for users to complete.

I have 10 cells B3:B13 where the user can write free text. There are cells D3:D13 which either display "1" or "0" depending if they have completed a different part of the sheet. I also have cell B16 which is a free text cell for the user to complete.

I want to use an Active X Button, which when clicked, will populate any cell B3:B13 with the value of B16 if the value of D3:D13 is "0". If the value of D3:D13 is "1", I want the cell in B3:B13 to be left alone.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
NotesCompleted?
Users Text...1
Users Text...1
Users Text...1
0
0
0
0
0
0
0
Text:
"This will appear in each blank cell."[Button]

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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