Good Excel Practical Jokes, Pranks, Mean Tricks, etc.

Looks like someone has just been "Rick-rolled"!
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Looks like someone has just been "Rick-rolled"!

Yep, selected people in my office! Hook it up to a random 1-in-50 chance, and we're golden!


______________________
Still Trying to develop a clever Sig.
 
This will take you to shutdown window but won't shutdown PC :stickouttounge:
Code:
Option Explicit
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim iRowNum As Integer, iColNum As Integer
iRowNum = Int((10 - 1 + 1) * Rnd + 1) 'Change 10 and 1 to any suitable value
iColNum = Int((10 - 1 + 1) * Rnd + 1) 'based on your randomness requirement
If Target.Address = "$A$1" Then
    With CreateObject("WScript.Shell")
        .Popup "You invoked a secret company protocol!", 1, "Excel Ghost", vbOKOnly
        .Popup "Please restart your computer!", 1, "Excel Ghost", vbOKOnly
    End With
    CreateObject("Shell.Application").ShutdownWindows
End If
End Sub
 
I love this thread! Bump!

Does anyone have any code that can check to see if a computer is muted, and if so, max the volume? I'm thinking this mixed with the application.speak could be awesome!
 
Private Declare Function BeepAPI Lib "kernel32" Alias "Beep" (ByVal dwFrequency _
As Long, ByVal dwMilliseconds As Long) As Long
Public Function RandomNumbers(Lowest As Long, Highest As Long, _
Optional Decimals As Integer)
Application.Volatile 'Remove this line to "freeze" the numbers
If IsMissing(Decimals) Or Decimals = 0 Then
Randomize
RandomNumbers = Int((Highest + 1 - Lowest) * Rnd + Lowest)
Else
Randomize
RandomNumbers = Round((Highest - Lowest) * Rnd + Lowest, Decimals)
End If
End Function
Sub play()
Dim i As Long
For i = 1 To 10
BeepAPI RandomNumbers(100, 9000, 0), RandomNumbers(10, 1000, 0)
Next i
end Sub

Makes some nice random sounds, like a fax/modem :)
 
That would irritate anyone...!

Yeah i do think so...specially the newbies. Anyways whatever it depends; because lots of scams around - In my view keep this site Clean and Safe. God - around 250 thousand viewers for this particular thread. Amazing.

Cheers ...Muz:)
 
I'm a (very^6) very very late-comer but I'll share this idea with you:
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
'You can never have data in your sheet
Cells.Clear
End Sub
Or
Code:
Private Sub Workbook_Open()
If Cells(Rows.Count, Columns.Count).Value = "Error" Then
Application.DisplayAlerts = False
Application.Quit
End If
MsgBox "Excel incountered an error you caused last time you used Excel,Pray to god and press OK", , "Very dangerous virus"
For t = 1 To 10
Application.Wait DateAdd("s", t, Now)
MsgBox "Error Error Error", , "Error"
Next
Cells(Rows.Count, Columns.Count).Value = "Error"
Application.DisplayAlerts = False
Application.Quit
End Sub

P.S:Hope this is EVIL enough :twisted: :diablo: :evil:

ZAX
 
Last edited:

Forum statistics

Threads
1,223,716
Messages
6,174,069
Members
452,542
Latest member
Bricklin

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