+ Reply to Thread
Results 1 to 7 of 7

Conditionally positioning arrays

Hybrid View

  1. #1
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Conditionally positioning arrays

    Hi,

    try this:

    right click on the worksheet tab and click View code
    in the VB editor, right hand side at the top select Worksheet from the object dropdown box
    in the Procedure dropdown box select "Change"
    Excel will create a procedure that looks like

    Private Sub Worksheet_Change(ByVal Target As Range)
    
    End Sub
    put the code posted above into that procedure (leave out the first and last line of above code)

    Now, whenever something changes in the worksheet, the code will run

  2. #2
    Registered User
    Join Date
    09-21-2009
    Location
    Brooklyn, NY
    MS-Off Ver
    Excel 2007
    Posts
    5

    Smile Re: Conditionally positioning arrays

    Thank you!!

    I know have all the parts to my answer - the trick is to put them together and have them work !!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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