+ Reply to Thread
Results 1 to 3 of 3

Deleting range given location of pressed form control

  1. #1
    Registered User
    Join Date
    02-21-2015
    Location
    West Point, NY
    MS-Off Ver
    2007
    Posts
    4

    Deleting range given location of pressed form control

    TrackerHelp.png

    Hey folks,

    So I'm trying to delete the form below the "Remove" button and the button itself, and then take the data below and move it up to fill the gap (the random numbers are just to test the xlUp piece). Here's what I have so far:

    Please Login or Register  to view this content.
    Basically my idea with the third line of code is that it starts from the location of the button pressed, and then names a range with the dimensions I want to delete.

    Anybody able to see what I'm doing wrong?
    Last edited by AaronChurchill; 03-09-2015 at 04:59 PM.

  2. #2
    Registered User
    Join Date
    02-21-2015
    Location
    West Point, NY
    MS-Off Ver
    2007
    Posts
    4

    Re: Deleting range given location of pressed form control

    Bump, no response.

    I attached a photo of my worksheet as a visual aid - let me know if it's not viewable.


    will post workbook with redacted personal info if somebody wants to see the workbook.
    Last edited by AaronChurchill; 03-11-2015 at 01:15 PM.

  3. #3
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Deleting range given location of pressed form control

    Hi AaronChurchill

    This is always a good idea...
    will post workbook with redacted personal info if somebody wants to see the workbook.
    Include any Code you're currently using whether it works or not. Also, please include an "After" Worksheet that displays your desired output.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

+ 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. Form Spinner, up or down pressed?
    By catch in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-29-2023, 12:03 PM
  2. Link Form Control Button to Cell Location?
    By bennetas in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-22-2016, 07:48 AM
  3. [SOLVED] Use form control to filter a range of columns
    By Consty1 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-14-2013, 10:36 AM
  4. Get caption of 2007 Ribbon control button pressed
    By wotadude in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-06-2011, 05:11 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