+ Reply to Thread
Results 1 to 8 of 8

VBA update search find routine using userform listbox selection

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    05-05-2009
    Location
    Wisconsin
    MS-Off Ver
    Excel 2010 and 365
    Posts
    113

    Re: Worksheet change errors when macro changes values

    Assuming that

    If Intersect(Target, ActiveSheet.Columns(7)) Is Nothing Then Exit Sub
    is the problem area then try removing ActiveSheet so that line becomes:

    If Intersect(Target, Columns(7)) Is Nothing Then Exit Sub

    Or try

    If Intersect(Target, Worksheets("Replace this with your worksheet name but leave quotes").Columns(7)) Is Nothing Then Exit Sub
    Last edited by Cyclops; 09-06-2017 at 04:59 PM.

+ 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. [SOLVED] Form values not being added to worksheet-No errors
    By rob_h in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-01-2017, 06:08 AM
  2. PivotChart macro, to display all field values, errors out on last value
    By darkorder in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-10-2016, 09:02 PM
  3. [SOLVED] Functional VBA code errors out when included in Worksheet.Change event
    By aquixano in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 09-21-2015, 12:20 PM
  4. Macro to change cell values based on changes in another worksheet
    By joee0201 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-02-2014, 03:29 PM
  5. Combo Box Form Control w/macro to change pivot table filters - Getting Errors
    By Nyolls in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-29-2013, 05:37 PM
  6. Change colour of shape if there are any formula errors in worksheet
    By asha3010 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-23-2010, 09:31 AM
  7. Code for button errors due to worksheet name change
    By ge0rge in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-15-2008, 12:22 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