+ Reply to Thread
Results 1 to 5 of 5

Looping the macro

  1. #1
    Registered User
    Join Date
    04-09-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    13

    Looping the macro

    Hi Friends,

    Someone kindly help me in looping the below mentioned macro till the last selection of a cell will be a blank one

    macro.JPG

    Please find attached the excel file with desired output. Shortcut key for the macro is Ctl + m

    As of now i have to press and hold the key manually till all the data is converted into desired output format. Can anyone help me to do these activities in 1 single click ?

    thanks
    Attached Files Attached Files
    Last edited by sitaram86; 04-09-2019 at 09:40 AM. Reason: Attaching sample file

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,483

    Re: Looping the macro

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,483

    Re: Looping the macro

    Assuming your actual is exactly like your sample.
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    04-09-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    13

    Thumbs up Re: Looping the macro

    That's awesome davesexcel thank u very much for the help

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,347

    Re: Looping the macro

    Please don't quote whole posts, especially when you are responding to the one immediately preceding your own - it's just clutter. It's OK to quote if you are responding to a post out of sequence, but limit quoted content to a few relevant lines that makes clear to whom and what you are responding. Thanks!

    For normal conversational replies, try using the QUICK REPLY box below.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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] Help With Looping Macro
    By lsantana in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-29-2018, 08:44 AM
  2. [SOLVED] Macro to create a looping macro to populate another worksheet.
    By sungen99 in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 06-22-2016, 10:53 AM
  3. Looping Macro
    By ExcelGuy160 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-09-2010, 08:52 PM
  4. Help with Macro looping
    By KevinThomas in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-02-2010, 05:37 AM
  5. Looping Macro
    By nickymac in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-17-2008, 09:18 AM
  6. Looping a macro
    By Toadums in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-31-2008, 01:07 PM
  7. Macro:Looping
    By cart0250 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-31-2006, 04:47 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