Pop-Up

sdc1234

Board Regular
Joined
Mar 17, 2011
Messages
122
does anyone know how I can make a pop up appear "are you sure" after information is entered
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Hi,

You could try data validation.
What type of data will the cell hold?
You can set data validation for the cell and set an Input Message when the cell is selected and an Error message if the wrong data is entered.

A vba solution would be something like this...

Code:
Private Sub Worksheet_Change(ByVal Target As Range)
    If Target.Column = 4 Then
        
        MsgBox "Are you sure?", vbInformation, "sdc1234 says......"
        
    End If
End Sub

Right click the sheet tab, click view code and paste this code into the white area. Column = 4 means column D change the number to suit your column.

Good Luck

Ak
 
Upvote 0
thank you


1 more ? I am trying to put a button on the page that says click here, what I want it to do is to enable macros on that specific computer, is this possible
 
Upvote 0
Hi,

I use a shape as a button then assign the relevant macro to the shape. In 2007, click Insert, Shapes, then select the shape that you wish to use.

I'm not sure how you would go about enabling macros pre 2007, I guess it would be under Tools, Macros, Protection or something like that. In 2007 you can save your file as XLSM, as standard practice I always save as 97-2003 compatible, just in case it ends up with a user who is on pre 2007.

Good luck.

Ak
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,728
Members
452,939
Latest member
WCrawford

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