+ Reply to Thread
Results 1 to 12 of 12

Can I save steps in a repeated process so it will automatically run?

  1. #1
    Registered User
    Join Date
    10-04-2013
    Location
    Idaho
    MS-Off Ver
    Professional PLUS 2010
    Posts
    5

    Can I save steps in a repeated process so it will automatically run?

    I know nothing!! At the moment, my skills consist of the add/subtract/multiply/divide formulas and that's about it. I just recently learned how to use VLookup and was thrilled to death about that. I want to know more!

    Question: is there a way to save a series of commands that are consistently used over and over so when you have a spreadsheet with a LOT of data these steps are automatically run for you without having to go through and click each command one at a time to sort/filter/delete to get down to the data you need? If I need to give an example, let me know. I will.
    Last edited by FDibbins; 10-04-2013 at 07:14 PM. Reason: thead tiotle changed

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Newby Starting From Scratch! I have a question.

    Hi Janice and welcome to the forum and to the world of excel

    I have changed your thread title for you (this time), but for future reference, Please see Forum Rule #1 about proper thread title
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: can I save frequently used formulas somewhere?

    Not exactly sure what it is you want to store, but once you become familiar with certain functions/formulas, they become almost automatic. Plus, each time you use most of them, the application will vary each time

    This forum is a great site for help on these functions/formulas, I suggest you ask questions and look at other members threads to get ideas etc

  4. #4
    Registered User
    Join Date
    10-04-2013
    Location
    Idaho
    MS-Off Ver
    Professional PLUS 2010
    Posts
    5

    Re: can I save frequently used formulas somewhere?

    Thank you! I'll be more detailed. I actually would like the Subject to read "Can I save steps in a repeated process so it will automatically run?"

    This is a hypothetical and VERY abbreviated example. Let's say I have a list of 100 students with 15 different columns of data. I get this spreadsheet by running a report in our system that spits out a csv file for me. The data and number of rows will be different every time but the number of columns will always be the exactly the same. Let's say that of the information in this spreadsheet, I want to delete all students whose last name is from N-Z. Of those that are left, I want to delete columns 3-8 because I don't need them for the particular information I am pulling. Then I want to sort in numerical order what's showing in column 2. Is there a way to save the steps that I will repeat each time I look at this spreadsheet? The process I would need to save is much longer than my hypothetical example.

    Sort by name
    Delete everything after last name with N-Z
    Delete columns 3-8
    Sort column 2 in numerical order

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: can I save frequently used formulas somewhere?

    That's what people use macros for.
    Entia non sunt multiplicanda sine necessitate

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Can I save steps in a repeated process so it will automatically run?

    I cghanged it again for you. To change your title yourself, click on EDIT on you're 1st post, then Go Advanced and change your title[/LIST]

  7. #7
    Registered User
    Join Date
    10-04-2013
    Location
    Idaho
    MS-Off Ver
    Professional PLUS 2010
    Posts
    5

    Re: Can I save steps in a repeated process so it will automatically run?

    Ah. I wondered if that was what a macro was. Do you have any advice on the best tutorials for macros?

  8. #8
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Can I save steps in a repeated process so it will automatically run?

    See http://office.microsoft.com/en-us/ex...001054837.aspx and many other links by googling Excel record macros

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Can I save steps in a repeated process so it will automatically run?

    there are a ton of books out there, but a good place to start ( I know this sounds counter-intuitive), is to start making your own. If you look in the bottom-left corner, see the READY icon? next to it is another icon, sorta looks like a worksheet with a red dot. That is the macro record button. when you click that, ANYthing you do in your workbook will be recorded, and can be played back/repeated afterwards.

    Play around with it on a workbook that contains some junk data - copy stuff, paste it elsewhere, move stuff, add or delete rows, type text and/or numbers...have a blast. then on the ribbon, select VIEW, click macro, click VIEW macros, you should see the name of the macro you just recorded (it asks for a name when you start). Select that and watch it do what you just did

  10. #10
    Registered User
    Join Date
    10-04-2013
    Location
    Idaho
    MS-Off Ver
    Professional PLUS 2010
    Posts
    5

    Re: Can I save steps in a repeated process so it will automatically run?

    AWESOME!!! I can't wait to try it! This sounds EXACTLY like what I was looking for.

  11. #11
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Can I save steps in a repeated process so it will automatically run?

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  12. #12
    Registered User
    Join Date
    10-04-2013
    Location
    Idaho
    MS-Off Ver
    Professional PLUS 2010
    Posts
    5

    Re: Can I save steps in a repeated process so it will automatically run?

    Thank you arlu1201. I have done as you suggested.

+ 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. Best way to learn VBA from scratch
    By SubwAy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-14-2015, 02:27 PM
  2. Learning Excel from scratch
    By hani85 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 09-20-2013, 07:10 AM
  3. [SOLVED] Help with Exporting & Collating Data (newby question)
    By damien102 in forum Excel General
    Replies: 7
    Last Post: 07-26-2012, 09:11 PM
  4. Creating a bar chart from scratch
    By Brad32 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-11-2007, 11:06 AM
  5. Replies: 0
    Last Post: 02-10-2006, 09:00 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