How to Create button Go to specific sheet in Google Spreadsheet

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 64

  • @averagedudeusa9722
    @averagedudeusa9722 8 месяцев назад +2

    its crazy how the developers dont know how to make the process more simple. This is too much trouble to go through for a basic button. either way excellent explanation. thanks.

    • @astropgn
      @astropgn 7 месяцев назад

      It might look like it is a lot of trouble, but this is actually quite powerful. Anyone can follow this 5 min video, and you can then use this knowledge to build more complex systems.

  • @biruareva
    @biruareva 3 года назад +25

    function P1() {
    // 1 = row 1, 14 = column 14 = N
    goToSheet("DashBoard",47,1)
    }
    function goToSheet(sheetName, row, col) {
    var sheet= SpreadsheetApp.getActive().getSheetByName(sheetName);
    SpreadsheetApp.setActiveSheet(sheet);
    var range = sheet.getRange(row,col)
    SpreadsheetApp.setActiveRange(range);
    }

    • @rahmatollohoktyabirov7287
      @rahmatollohoktyabirov7287 2 года назад

      Here you are assigning to the fixed page, but I want to give the reference to the specific cell. How can I do that? For instance, I have 100 pages, I will put list of pages to the cell A1, (it will be drop down list) after that if you click the button it will take you to the page that is shown on A1 cell ?

    • @ammararafique6225
      @ammararafique6225 Год назад

      Thanks Mate

  • @TeacherGunar
    @TeacherGunar 9 месяцев назад

    Thank you very much for the script. It helps me a lot.

  • @nywanderer100
    @nywanderer100 3 года назад +3

    Thank you. "Just what the doctor ordered," as they say. Cheers.

  • @MirimKim-e3l
    @MirimKim-e3l 11 месяцев назад

    i was looking for it!!!!!

  • @HasimMotor
    @HasimMotor 9 месяцев назад

    its very helpful, thanks

  • @ailenesanjuan5595
    @ailenesanjuan5595 2 года назад +1

    Thanks for this! Is there a way that one button can open multiple sheets not just one?

  • @mikepuno2000
    @mikepuno2000 Год назад

    I really want to thank you for sharing your wonderful ideas on this, it is very useful for my project, again a big thanks.

  • @mikeshedrack1381
    @mikeshedrack1381 6 месяцев назад +1

    Nice job...no need of repeating the functions(gotosheet function), one function will serve all the buttons😂😂
    Just call it and assign thr parameters

    • @PDFEditing
      @PDFEditing  6 месяцев назад

      Thanks for the tips!

  • @andrewbray1570
    @andrewbray1570 3 года назад +2

    Very Helpful - but I couldnt' get a copy of coding you display. That would be very handy for all.

  • @ABHISHEKGUPTA-yi3vu
    @ABHISHEKGUPTA-yi3vu 2 года назад +2

    Just what i wanted !!!
    Thanks :)

  • @willsgrandad
    @willsgrandad 2 года назад +3

    I wanted to get to any sheet. Used Insert...Link...Sheets and named ranges... selected sheet I wanted .. enter.
    You get a cell with the sheet you want to go to. Click on cell and choose cell name . done.
    No scripts
    No Drawing buttons
    However you do not get a button displayed, just a cell.
    Hope this helps someone

    • @paleteriaelpibe7035
      @paleteriaelpibe7035 9 месяцев назад

      Greaet idea. Do you know how to make it clickable?

    • @rodrigonobrega7777
      @rodrigonobrega7777 6 месяцев назад

      Excellent idea! Thanks for sharing!

    • @rodrigonobrega7777
      @rodrigonobrega7777 6 месяцев назад

      @@paleteriaelpibe7035 Good question. It's clickable, but needs 2 clicks (one on the cell, another on the link that appears nearby). Maybe not so straightforward for users of our sheets, but helpful anyway.

  • @lorvha
    @lorvha 3 года назад +2

    how can i a button for "Go to specific Ceell"? Example Cell: G1:L1
    Thank you very much for answer

    • @EdgeOfYesterday
      @EdgeOfYesterday 3 года назад

      Hi Lorvha. This is a late reply hope it is still useful. This script will open a dialogue box and ask for the cell reference you enter it and then click OK
      function goToCell()
      {
      var strRange = Browser.inputBox("Insert the required cell (e.g.: B20):", Browser.Buttons.OK_CANCEL);
      SpreadsheetApp.getActiveSheet().getRange(strRange).activate();
      }

    • @jesusdelavega7101
      @jesusdelavega7101 2 года назад

      @@EdgeOfYesterday it's not working

  • @newera2853
    @newera2853 2 года назад

    it was really helpful. thank you

  • @sovannaryhong1610
    @sovannaryhong1610 10 месяцев назад +1

    My tool doesn't have script editor function, what can I fix that?

    • @astropgn
      @astropgn 7 месяцев назад

      Google changed its location, it is on "Extensions -> Apps Script" now.

  • @ammararafique6225
    @ammararafique6225 Год назад

    ThankYou Mate

  • @bambangpurnamasomalinggi319
    @bambangpurnamasomalinggi319 3 года назад +1

    tks alot brother....i am from manokwari papua

  • @hassanmburia8825
    @hassanmburia8825 3 года назад +1

    Thank you so much GOD bless

  • @mohanadhazah6311
    @mohanadhazah6311 2 года назад

    Great Job

  • @ฟอหอกอดอเอกrสว

    Thank you

  • @SewModernBags
    @SewModernBags 2 года назад

    I am getting this message when I click the button A script attached to this document needs your permission to run. And its asking me to sign into the account I'm already signed into.

    • @astropgn
      @astropgn 7 месяцев назад

      It is normal. You are not signing in into your account, you are authenticating that you trust the script you just created. After trusting it and giving it permission to run on this spreadsheet, it won't prompt this anymore.

  • @prodSpTcher
    @prodSpTcher 11 месяцев назад

    GOOD job
    but dosent work on mobile (androïde & ios)

  • @Video_Populer
    @Video_Populer 2 года назад

    if it is made like that, can the hidden sheet be accessed?

  • @canyasin16
    @canyasin16 Год назад

    Thanks

  • @rufiorufio4693
    @rufiorufio4693 3 года назад

    thank you for this.

  • @TemplesOfIndia_explore
    @TemplesOfIndia_explore 2 года назад

    Hey please help me out my script is running but not able to go to particular sheet

  • @walidtawk2828
    @walidtawk2828 2 года назад

    hello thank you for this video, but it is giving me an error (scripts cannot convert 'comments' to int.)

  • @ajaykasani1120
    @ajaykasani1120 Год назад

    CAN WE CREATE PRINT BUTTON ?

  • @bilguunjargalsaikhan5030
    @bilguunjargalsaikhan5030 5 месяцев назад

    Please share the code.

  • @micadistribuidora6951
    @micadistribuidora6951 Год назад

    como se puede hacer un boton para imprimir en google sheets

  • @anowarhossan4985
    @anowarhossan4985 4 года назад

    Button Script link not working

  • @shubhamsharma8373
    @shubhamsharma8373 3 года назад

    I want to send mail according to the customer mail ID not specific mail ID so how we add mail ID cell in script

  • @lukeanderson4593
    @lukeanderson4593 2 года назад

    "Exception: Invalid argument: sheet"

  • @rokkirocks4016
    @rokkirocks4016 2 года назад

    Not working bro....

  • @shubhamsharma8373
    @shubhamsharma8373 3 года назад

    I want to send mail according to customer mail ID

  • @TheBtrivedi
    @TheBtrivedi 3 года назад

    Thank you.