UserForm to Add Text Box on Sheet

dannie

New Member
Joined
Dec 29, 2014
Messages
34
Hello and thank you in advance if anyone can help me.

I am trying to create a Button Click to open up a Text Box that can be Edited. And then I would like that Text Box to be placed on the active sheet. Nothing fancy. The goal is to have a place where employees that are viewing the page can see Announcements, and the Boss click to update the announcements.

Any help would be great. :) Thanks!
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Try this:

1. Use the insert command on your ribbon Home menu.
2. Select insert Text Box
3. Select the textbox
4. In the little box above cell “A1” Type in the name “UpDates”
5. Click on the textbox and choose your style of text and size.
6. Positon the textbox where you like
7. Create yourself another shape to use as your button
8. Right click on the button and choose assign Macro
9. Choose New and then clear any text in the window and paste in the below script. And close the window.
10. Now when you click on the button the textbox will toggle between being visible or hidden
11. Type in whatever text you want in the textbox.
Code:
Sub Toggle_Text_Box()
ActiveSheet.Shapes("UpDates").Visible = Not ActiveSheet.Shapes("Updates").Visible
End Sub
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,774
Members
452,353
Latest member
strainu

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