+ Reply to Thread
Results 1 to 7 of 7

Me make a routine / loop / for next for manipulation of lines and columns in excel throu

  1. #1
    Forum Contributor
    Join Date
    11-29-2014
    Location
    brasil
    MS-Off Ver
    excel 2016
    Posts
    2,179

    Me make a routine / loop / for next for manipulation of lines and columns in excel throu

    ME MAKE A ROUTINE / LOOP / FOR NEXT

    FOR MANIPULATION OF LINES AND COLUMNS IN EXCEL

    THROUGH A MACRO! please

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    6,014

    Re: Me make a routine / loop / for next for manipulation of lines and columns in excel t

    What range of cells? What manipulation do you want? AND PLEASE DON'T SHOUT!
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Forum Contributor
    Join Date
    11-29-2014
    Location
    brasil
    MS-Off Ver
    excel 2016
    Posts
    2,179

    Re: Me make a routine / loop / for next for manipulation of lines and columns in excel t

    HERE AN EXAMPLE OF HOW TO HANDLE LINES

    Sheets ( "lotofacil"). Select
    vlin = 1
    While the Range ( "a" & vlin) <> ""

    vlin = vlin + 1
    loop



    HERE COLUMNS

    vescala = "cdefghijklmnopq"

    'FORMAT 02 HOUSES
    For i = 1 to 9
    Range (Mid (vescala, i, 1) & vlin) .Select
    Selection.NumberFormat = "@"
    Range (Mid (vescala, i, 1) & vlin) = Format (Range (Mid (vescala, i, 1) & vlin), "00")
    Next



    HOW DO YOU DO?

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Me make a routine / loop / for next for manipulation of lines and columns in excel t

    Does this help?

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    11-29-2014
    Location
    brasil
    MS-Off Ver
    excel 2016
    Posts
    2,179

    Re: Me make a routine / loop / for next for manipulation of lines and columns in excel t

    hello john
    THE EXCEL COLUMNS HE BELIEVES IN NUMBERS ??

    A = 1

    B = 2 .....

  6. #6
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Me make a routine / loop / for next for manipulation of lines and columns in excel t

    Yes. 3 to 17 is c to q

  7. #7
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    6,014

    Re: Me make a routine / loop / for next for manipulation of lines and columns in excel t

    You don't need to loop to find the last row, and you don't need to convert cells to text to get them to display as 00 format:

    Please Login or Register  to view this content.

+ 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] naming a routine and calling it in another routine - not a loop
    By HeyInKy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-16-2015, 11:54 AM
  2. Find a worksheet throu a key word or an excel file
    By anmol786 in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 10-14-2014, 05:47 AM
  3. loop a sub routine
    By obiwann in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-07-2014, 09:08 PM
  4. Make a mcaro loop through 5 pairs of columns
    By raehippychick in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-28-2009, 04:54 AM
  5. Replies: 2
    Last Post: 12-18-2005, 08:20 PM
  6. Replies: 0
    Last Post: 11-03-2005, 08:10 AM
  7. [SOLVED] Inserting Lines:What they want is an Excel routine
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-10-2005, 02:06 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