How to record a macro in Excel to automate tasks!

Поділитися
Вставка
  • Опубліковано 9 бер 2023

КОМЕНТАРІ • 47

  • @mulisaurus
    @mulisaurus Рік тому +93

    This is a cool shortcut. When using macros, keep in mind the rest of tables have to be the same size and placement otherwise you'll error out and if you don't know how to edit the code then...yeah.

    • @hassanboussi8909
      @hassanboussi8909 10 місяців тому

      You can use relative reference if the table didn’t start/end at the same position or had a different size

    • @mars2459
      @mars2459 9 місяців тому

      that's what i was wondering. what if a new worksheet has new added rows will this still work or is there a work around

    • @shanidhameed
      @shanidhameed 9 місяців тому

      @@hassanboussi8909how is that done..

    • @thorstenl.4928
      @thorstenl.4928 7 місяців тому +1

      If you click into the table and then ctrl+a it will highlight the table no matter the size.
      Use ctrl+arrows vor navigation and ctrl+space / shift+space for highlighting whole column / row
      These are relative navigations and they will work also if the size differs…

  • @jaxnaturals
    @jaxnaturals Рік тому +25

    This is literally the best shortcut I have ever crated. Took 2hrs of work down to 10 minutes. And I have to do that every 2 weeks.

  • @tubeo94
    @tubeo94 10 місяців тому +6

    I used to work in corporate, knowing how to use macro, write code in excel, building auto tool in excel will “excel” you in your job

  • @sayakdasgupta1788
    @sayakdasgupta1788 5 місяців тому +1

    You can you format painter and just copy the sheet and paste it other. It will work fast for this scenario

  • @sabyasachibasuroy560
    @sabyasachibasuroy560 Рік тому +10

    Did I just see the data for THE OFFICE! Michael's gonna get mad😂😂

  • @valheim2
    @valheim2 10 місяців тому

    Or you can select all sheets and this formatting once. This is a great tutorial for creating a basic macro. Thank you.

  • @taimoorkhan8203
    @taimoorkhan8203 Рік тому +3

    add application.ScreenUpdating = False
    and apply it to all sheets with additional code in VBA

  • @matteosberna735
    @matteosberna735 7 місяців тому

    I love to use this method as a base for my scripts

  • @alexthomas2667
    @alexthomas2667 8 місяців тому +4

    You could also just select all sheets and make your changes. I love macros, but I think it would yield the same result without having to create a macro.
    Love your content. Keep it up! 😃

  • @hamdioumellal1709
    @hamdioumellal1709 Рік тому +1

    You're the best!!!

  • @jaikumarjadhav6575
    @jaikumarjadhav6575 11 місяців тому +1

    Invalid for different size -> Copy & Paste as Format should work.

  • @meleciasingson5868
    @meleciasingson5868 Рік тому +1

    How about selecting the sheets at once?...pressing control then select each sheet then edit one sheet automatically the rest copies the edits

  • @youcifebraheem8510
    @youcifebraheem8510 7 місяців тому

    Or by grouping sheets together and format one of them then all will same.
    love yr contant 😍 keep going dude❤

  • @niteshjaiswal2754
    @niteshjaiswal2754 7 місяців тому

    Excellent

  • @tazguy371
    @tazguy371 Рік тому +2

    You’re going to have to edit the macro to accommodate changes in the table name, at the very least.

    • @JMGauthier
      @JMGauthier Рік тому +3

      Recording a macro this way will result in a hard coded macro. Every he did will now repeat when he runs the macro no matter what workbook he’s in or worksheet. He didn’t change any text, only formatting. So as long as the next table he gets are all in the same cells it will work.

    • @jd0879
      @jd0879 6 місяців тому

      Disagree. This works if you’re exclusively changing formatting which he is

  • @praveent7979
    @praveent7979 Рік тому +1

    @easy_sheets- If we filter in macros base file sheet & do the changes, the same will not reflect in rest of the sheets?

  • @kinchannel3264
    @kinchannel3264 10 місяців тому

    You can make select and format , without macro

  • @imransharif8387
    @imransharif8387 11 місяців тому

    Will the shortcut work in the another workbook?

  • @diyfusionhelp472
    @diyfusionhelp472 11 місяців тому

    Love your videos 🫡 thank you

  • @dhamodaraninbanathan3592
    @dhamodaraninbanathan3592 6 місяців тому

    If any additional information to be add in that working sheet still the Recording Macro work correctly?

  • @brendamg7298
    @brendamg7298 Рік тому

    Cool

  • @Dulitzlives
    @Dulitzlives Рік тому

    I love this. Genius stuff. Thank u!!

  • @akshayganesh4144
    @akshayganesh4144 8 місяців тому

    This guy took characters from office

  • @LeahyPhoto
    @LeahyPhoto Рік тому

    Name it whatever you like, as long as you don’t like spaces!

  • @munnakarthiko1
    @munnakarthiko1 7 місяців тому

    😮👌

  • @brimmed
    @brimmed Рік тому

    Does that work for data filtering too? For example at work we pull the work orders from a site for the whole group, then i want to filter out orders that are in "historical" state, and want to filter just my jobs. I'm assuming yes. Hopefully I remember to try it since it's a long weekend

    • @easy_sheets
      @easy_sheets  Рік тому +1

      Yes. Works for pretty much everything. you can add columns, make calculations, format, add filters, etc.

  • @simsbanshee
    @simsbanshee Рік тому

    How do you unlock developer mode? Or is it always there I can't remember

  • @suneelkumar6431
    @suneelkumar6431 9 місяців тому

    How to do it in different workbook

  • @sahillarya06
    @sahillarya06 4 місяці тому

    How about format painter

  • @michelledizon6867
    @michelledizon6867 10 місяців тому

    I can save it right? So it won't be lost when I restart my pc

  • @serbonkers4130
    @serbonkers4130 Рік тому

    Will this work in google sheets

  • @DaveMcGarry
    @DaveMcGarry 10 місяців тому

    Isn't it better to do it in Power Query... Don't you have to save the file as xlsxm format? Which end up being untrusted doc...

  • @hanadiss408
    @hanadiss408 10 місяців тому

    👏🏽👏🏽👏🏽👏🏽👏🏽

  • @redhotz21
    @redhotz21 Рік тому +1

    Is the macro only saved to this one file, or is it retrievable from my 365 account?

    • @AdySimm
      @AdySimm Рік тому +2

      When record a macro, after you name it, choose to store macro in "my personal macros" (not "this workbook"). When you finish recording the macro, save the excel file in order to save the macro. That's it! When you open a new excel file, will find the recorded macro under the tab developer - macros.

  • @QwDragon
    @QwDragon Рік тому

    Brush solves it in a better way.

  • @abdelouahedboutahir5906
    @abdelouahedboutahir5906 9 місяців тому

    Dunder Mifflin :) :) :)

  • @MexicanMan_777
    @MexicanMan_777 8 місяців тому

    alg

  • @SubOneeAnimates
    @SubOneeAnimates 9 місяців тому

    Who saw Ohio?

  • @kevincuvi3
    @kevincuvi3 Рік тому

    Ohio