Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8383455
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:10:05+00:00 2026-06-09T17:10:05+00:00

Sheet.getRange(1,1,1,12) I cannot understand the arguments 1,1,1,12 . What is this – the sheet

  • 0
Sheet.getRange(1,1,1,12)

I cannot understand the arguments 1,1,1,12 . What is this – the sheet id or row or what?

method getRange(row, column, optNumRows, optNumColumns)

here what does optNumRows and optNumColumns mean???

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T17:10:06+00:00Added an answer on June 9, 2026 at 5:10 pm

    Found these docu on the google docu pages:

    • row — int — top row of the range
    • column — int— leftmost column of the range
    • optNumRows — int — number of rows in the range.
    • optNumColumns — int — number of columns in the range

    In your example, you would get (if you picked the 3rd row) "C3:O3", cause C –> O is 12 columns

    edit

    Using the example on the docu:

    // The code below will get the number of columns for the range C2:G8

    // in the active spreadsheet, which happens to be "4"

    var count = SpreadsheetApp.getActiveSheet().getRange(2, 3, 6, 4).getNumColumns();
    Browser.msgBox(count);

    The values between brackets:

    2: the starting row = 2

    3: the starting col = C

    6: the number of rows = 6 so from 2 to 8

    4: the number of cols = 4 so from C to G

    So you come to the range: C2:G8

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a sheet A that looks something like this: Name Phone Number Title
I set excel sheet one of the the column as a currency format $
In the Excel-sheet for the A column write procedure, which with MsgBox function returns
I have an Excel sheet and have this formula below. I would like to
I have an Excel sheet and have this formula below. I would like to
here the file https://docs.google.com/spreadsheet/ccc?key=0AurtxTJwggIpdG9GaE1TOV9wMEw2UHhjZVJyUXVETUE you'll find on sheet Key , what is meant to
I have a one sheet with a column which ranges from C2 till C6115.
Using the method below I can load a row at time into an Excel
I have this sprite sheet: How can I read this image file to extract
Here is the little example of my two worksheets. Original Sheet : As you

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.