+ Reply to Thread
Results 1 to 2 of 2

Worksheet_change and rows overlapping

  1. #1
    Registered User
    Join Date
    01-25-2021
    Location
    rome
    MS-Off Ver
    365
    Posts
    1

    Worksheet_change and rows overlapping

    Hello everybody,

    I am trying to make a sort of CRM file to ease my job. I have this file with four different Sheets: Suspect / Prospect / Attivi / Brand
    Some columns are filled with dropdown menu. When in the cell Esito Chiamata (M1), in Suspect sheet, "ok" is selected, the row must be moved to Prospect sheet.
    When in the cell Proposta Accettata (L1), in Prospect sheet, "ok" is selected, the row must be moved to Attivi sheet.
    I am not very good with VBA, it's my first time using this language, so I tried to copy some code I found online and edited it and somehow it works but still has some problems:
    The rows moved between sheets are not placed after the last used row, but they will overlap every time. I need them to be moved to the last empty row of the sheet. Plus, I every new row of the sheets must have the same data validation (dropdown menu basically) as the row above, I added a macro and a button (Aggiungi riga button in P1), but it will add one row at a time, I would need to add multiple rows with same formatting and validation.

    This is the code for Worksheet_change:

    Please Login or Register  to view this content.
    Thank you so much
    M
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Worksheet_change and rows overlapping

    Suspect worksheet code module
    Please Login or Register  to view this content.
    Prospect worksheet code module
    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

+ 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. Overlapping Selection - Trying to Delete Selected Rows
    By casper3043 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-10-2020, 06:09 AM
  2. [SOLVED] Classroom Problem - Sums of Rows With Overlapping Timeslots
    By ARec3 in forum Excel General
    Replies: 7
    Last Post: 10-16-2017, 08:59 AM
  3. [SOLVED] Help in combining rows where dates are consecutive or overlapping
    By Chrispelletier in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-14-2017, 05:10 PM
  4. Visual error - rows overlapping vertically
    By jbytes in forum Excel General
    Replies: 0
    Last Post: 11-14-2016, 11:41 AM
  5. How to Count number of overlapping rows within a time interval
    By czou6 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-10-2013, 04:45 PM
  6. how to count # rows having overlapping date ranges
    By jrtaylor in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-13-2011, 01:54 PM
  7. Overlapping ranges different rows
    By alexo in forum Excel General
    Replies: 1
    Last Post: 10-20-2010, 12:39 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