+ Reply to Thread
Results 1 to 3 of 3

Can Macros be set to automatically run when something is pasted or typed into a cell?

  1. #1
    Registered User
    Join Date
    09-03-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    37

    Can Macros be set to automatically run when something is pasted or typed into a cell?

    Can Macros be set to automatically run when something is pasted or typed into a cell?

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Can Macros be set to automatically run when something is pasted or typed into a cell?

    Yes. Take a look at the Worksheet_Change event in the worksheet module.

    Hope this helps

  3. #3
    Forum Contributor
    Join Date
    09-30-2013
    Location
    Toronto, ON
    MS-Off Ver
    Excel 2007
    Posts
    229

    Re: Can Macros be set to automatically run when something is pasted or typed into a cell?

    Yes, via a trigger. The code to be executed needs to sit in the sheet in which the cell resides in.
    The code basically looks like this. There are other triggers as well

    Please Login or Register  to view this content.
    If this helped, please click (*) Add Reputation

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 02-23-2007, 12:11 PM
  2. [SOLVED] Can numbers be typed to automatically be negative in cells?
    By finnplan in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 12-08-2005, 06:30 PM
  3. [SOLVED] Excel merged cell - can it automatically expand as text is typed?
    By Joanne (JAS) in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 01-07-2005, 09:06 PM
  4. [SOLVED] Excel merged cell - can it automatically expand as text is typed?
    By Joanne (JAS) in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 01-07-2005, 07:06 PM

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