+ Reply to Thread
Results 1 to 5 of 5

Delete and Insert macro with Input Box

  1. #1
    Registered User
    Join Date
    07-09-2008
    Location
    Singapore
    Posts
    13

    Delete and Insert macro with Input Box

    Through search from the internal I managed to find a macro that allows me to delete empty rows from a selected range but I would like to make this codes able to accept user input to select the range to perform the task. I would e please to receive some help in this department. The codes are as follows:

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    Try

    Please Login or Register  to view this content.
    This will allow you to nominate the range and you can then process based on the selection.

    To give an example, run the code, and when the inputbox comes up, select the range A1:A5. You will be shown the 5 addresses.
    Please Login or Register  to view this content.
    HTH

    rylo

  3. #3
    Registered User
    Join Date
    07-09-2008
    Location
    Singapore
    Posts
    13
    I am not well verse with VBA and I would be grateful if you can help by letting me know how can your proposed codes be incorporated into the existing codes to make it works.

    Thanks!

  4. #4
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,525
    Hi Hyperbole,

    The following should do the trick:

    Please Login or Register  to view this content.
    HTH

    Robert

  5. #5
    Registered User
    Join Date
    07-09-2008
    Location
    Singapore
    Posts
    13

    Smile

    Hi Trebor76,

    Your codes is working great. Thanks!

+ 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