Results 1 to 28 of 28

Best Excel pranks and jokes

Threaded View

  1. #1
    Registered User
    Join Date
    02-27-2014
    Location
    Range("A1")
    MS-Off Ver
    Excel 2007
    Posts
    24

    Wink Best Excel pranks and jokes

    Would you guyz teach me a few pranks and tricks I can do using Excel and VBA? I've got a few ideas like this evil example:
    Right click on a sheet's tab and choose (View Code) then paste this code in the white space in front of you:
    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    i = MsgBox("Are you sure you want to clear all cells?", vbYesNo, "The commands are in reverse")
    If i = vbNo Then
        cell.Clear
    End If
    End Sub
    ZAX
    Last edited by DarthVader68; 03-18-2014 at 08:17 AM.
    I'm glad you got it to work :-D
    ZAX

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Pranks
    By ChemistB in forum The Water Cooler
    Replies: 26
    Last Post: 10-29-2010, 12:11 PM
  2. Pranks 2008
    By Wutz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-07-2008, 10:32 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1