+ Reply to Thread
Results 1 to 9 of 9

No. of Row = No. of inputs

  1. #1
    Registered User
    Join Date
    07-21-2015
    Location
    manila
    MS-Off Ver
    MS Office 2010
    Posts
    18

    No. of Row = No. of inputs

    Hi guys, Hope you can help with my situation.
    Here's the scenario I need to create a vba macro that can place a constant text in other column.
    For example,
    Excel.JPG
    as you can see in the attachment, the no. of text("TC") proportional to the no. of Row in column A.
    this column A and the no of Row will be user input. As long as the user input more row in Column A it will also generate a text("TC") every 3 row

    Hoping for the best and thank you in advance
    Last edited by Cheezee; 07-21-2015 at 06:23 AM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,953

    Re: No. of Row = No. of inputs

    Please Login or Register  to view this content.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    07-21-2015
    Location
    manila
    MS-Off Ver
    MS Office 2010
    Posts
    18

    Re: No. of Row = No. of inputs

    Sir,TMS thank you very much..

    Uhmmppp sir TMS question I'm new in VBA programming. I would like to know what the function of " Application.ScreenUpdating = False " and " Application.ScreenUpdating = True "

  4. #4
    Valued Forum Contributor bulina2k's Avatar
    Join Date
    11-20-2012
    Location
    Urziceni, Ialomita, Romania
    MS-Off Ver
    2019 and 365
    Posts
    867

    Re: No. of Row = No. of inputs

    Hi there !

    Application.ScreenUpdating = False
    Turns screen updating off to speed up your macro code. You won't be able to see what the macro is doing, but it will run faster.
    .. and don't forget to have fun!
    Bogdan.

    mark SOLVED and Add Reputation if my answer pleases you

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,953

    Re: No. of Row = No. of inputs

    You're welcome


    What bulina2k said


    Regards, TMS


    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

  6. #6
    Valued Forum Contributor
    Join Date
    03-22-2013
    Location
    Australia,NSW, Wirrimbi
    MS-Off Ver
    Excel 2013
    Posts
    1,057

    Re: No. of Row = No. of inputs

    Here's another for fun..

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    07-21-2015
    Location
    manila
    MS-Off Ver
    MS Office 2010
    Posts
    18

    Re: No. of Row = No. of inputs

    Thank you sir bulina2k and TMS

  8. #8
    Registered User
    Join Date
    07-21-2015
    Location
    manila
    MS-Off Ver
    MS Office 2010
    Posts
    18

    Re: No. of Row = No. of inputs

    Sir apo gonna try it, thank you

  9. #9
    Valued Forum Contributor bulina2k's Avatar
    Join Date
    11-20-2012
    Location
    Urziceni, Ialomita, Romania
    MS-Off Ver
    2019 and 365
    Posts
    867

    Re: No. of Row = No. of inputs

    Quote Originally Posted by apo View Post
    Here's another for fun..

    Please Login or Register  to view this content.
    for fun.. but for learning purposes also! very nice code!

+ 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. Count inputs
    By jammerculture in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-13-2015, 10:40 AM
  2. Where can I see the the different inputs for formatconditions?
    By ammartino44 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-12-2015, 07:23 PM
  3. [SOLVED] Parameterize Inputs
    By fblaze in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-26-2013, 07:43 AM
  4. multiple inputs
    By DrJC in forum Excel General
    Replies: 1
    Last Post: 08-23-2012, 03:03 PM
  5. VBA Function inputs
    By BFlick11 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-04-2010, 05:34 PM
  6. SUMPRODUCT inputs
    By benracer in forum Excel General
    Replies: 6
    Last Post: 03-08-2008, 03:02 PM
  7. RefEdit Inputs
    By Curare in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-23-2005, 03:40 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