Is there an easy way to see how many rows in a table? (selected or unselected)

Hi all,
Forgive me if this is a REALLY dumb question but I would love to know if there there is an easy way to to see how many rows there are in a table in InDesign?
(And I bet I am really going to kick myself when I hear the answer and how simple it probably is..lol !)
I am working on a huge catalog and am dealing with LOTS of tables...very long tables too at times. I am also doing a lot of copying and pasting back and forth between InDesign and Excel and it would REALLY help if I knew how many rows there are in a table without having to manually count them (TIRESOME!!).
Also, is there a way to see how many rows I have selected at any one time? It would be SO WONDERFUL if the info box could also provide this information.
Thank you SO MUCH in advance for your help:))
Christine
**UPDATE**
Oh boy I AM going to kick myself! Why only NOW that I wrote this question did I suddenly notice that the Table palette shows the number of rows and columns? lol.
Okay, then is there a way to see how many rows I have selected at any given time?

@Christine – try the following ExtendScript (JavaScript):
if(app.selection.length === 0
    || !app.selection[0].constructor.name === "Cell"
    || !app.selection[0].constructor.name === "Table"){
    exit(0);
var sel = app.selection[0];
if(sel.constructor.name === "Cell"){
    var tableRowLength = sel.parent.rows.everyItem().getElements().length;
if(sel.constructor.name === "Table"){
    alert("All "+sel.rows.everyItem().getElements().length+" rows selected in current table." );
    exit(0);
var numberOfRowsSelected = sel.rows.length;
var indexOfSelectedRows = sel.rows.everyItem().index;
var startRowSel = indexOfSelectedRows[0]+1;
var endRowSel = indexOfSelectedRows.length+indexOfSelectedRows[0];
alert(numberOfRowsSelected +" row(s) selected.\r"+startRowSel+" to "+endRowSel+" out of "+tableRowLength+" of current table.");
You need not select whole rows, just one or a couple of cells.
Then run the script.
An alert message is telling you how many rows belong to the cell range you have selected and:
which rows of the table are selected…
A typical message would be:
6 row(s) selected.
3 to 8 out of 20 of current table.
The script does some basic checks of the selection.
If no cell or table is selected, it will just do nothing…
Uwe
Message was edited by: Laubender | Some language cosmetics in the alert message

Similar Messages

  • Is there an easy way to see if there a mouse was clicked on an image?

    Is there an easy way to see if there a mouse was clicked on an image? I don't want to do it using math, as I will have anywhere from 1 to 1000 images. Thanks.
    Virum

    I also went through the same process and used Hashtable at last
    Hashtable ht=new Hashtable();
    ht.add("1",new Position(number,x,y,image))
    ht.add("2",new Position(number,x,y,image))
    u need have class Position which has constructor
    Position(int number,int x,int y,Image img)
    number : 1,2,.....
    image : img1,img2......
    x,y position
    hope u got it

  • New update of podcast app, there is no way to see how long your podcast has been on go?

    When listening to a podcast and you want to see how long you have left, there is now no longer an option to see this?
    Your also unable to drag/skip to a part of the podcast easily

    @Christine – try the following ExtendScript (JavaScript):
    if(app.selection.length === 0
        || !app.selection[0].constructor.name === "Cell"
        || !app.selection[0].constructor.name === "Table"){
        exit(0);
    var sel = app.selection[0];
    if(sel.constructor.name === "Cell"){
        var tableRowLength = sel.parent.rows.everyItem().getElements().length;
    if(sel.constructor.name === "Table"){
        alert("All "+sel.rows.everyItem().getElements().length+" rows selected in current table." );
        exit(0);
    var numberOfRowsSelected = sel.rows.length;
    var indexOfSelectedRows = sel.rows.everyItem().index;
    var startRowSel = indexOfSelectedRows[0]+1;
    var endRowSel = indexOfSelectedRows.length+indexOfSelectedRows[0];
    alert(numberOfRowsSelected +" row(s) selected.\r"+startRowSel+" to "+endRowSel+" out of "+tableRowLength+" of current table.");
    You need not select whole rows, just one or a couple of cells.
    Then run the script.
    An alert message is telling you how many rows belong to the cell range you have selected and:
    which rows of the table are selected…
    A typical message would be:
    6 row(s) selected.
    3 to 8 out of 20 of current table.
    The script does some basic checks of the selection.
    If no cell or table is selected, it will just do nothing…
    Uwe
    Message was edited by: Laubender | Some language cosmetics in the alert message

  • Is there a way to know how many rows were rejected using external tables?

    Hi,
    I'm developing a package that needs to load different kinds of text files into the DB.
    I was wondering whether there's a way of knowing in SQL or PL/SQL how many rows were rejected if my external table is defined with "reject limit unlimited".
    I'm using the external tables in "insert into ... (select ... from external_table where...)"
    sql%rowcount returns the number of inserted rows
    I was hoping for something similar/easy to get the number of rejected rows as well.
    I know I can try to analyze the bad file for the number of records if there's no other way...
    Thanks in advance.

    Pyrocks wrote:
    I was afraid of this answer...
    this is a certain "no there's no other way" or should i wait for other responses (no disrespect - just want to make sure :) )Well the difference would be that this external table will have no complex logic. You would simple read in all the lines from the bad file. The chances that this is broken are therefore very slim compared with your original external table.
    And tehre are many other ways possible. For example you can first copy the file into a real internal (temp) table without using any processing logic but with using an external table. Then do the processing / logic checking of the data and move the data from this temp table into your final data structure. Since you move the data two times the whole process will be slower then the original version.

  • Is there a way to see how many months I've been subscribed?

    Besides looking at a bank statement, is there any way to get a statement or see how long or how much I've been paying for Adobe PDF converter? Thanks to anyone who can answer!

    Hi Alejandra,
    You have had your subscription for four months now. It began on October 27, 2013.
    Hope that helps!
    Kind regards, Stacy

  • Is there any way to see how many users are connected?

    I was wondering if there was a way to manage the airport express in such a way that you can see all of the current connected computers, and kick one off if need be.

    There is a MacOS utility that can be used to determine the identity (by MAC address only) of all clients connected wirelessly to a Base Station. There is no Windows version of this utility. For information about the MacOS version see:
    flatfeet, "How to see attached devices in AEBS?", 10:02pm Oct 17, 2005 CDT
    The only way you can "kick off" someone is by either implementing WEP or WPA security and a password (which you would need to distribute to all authorized users), or to implement a MAC address based access list (which requires you to enter the MAC address of the wireless interface of all authorized computers).

  • Wireless Security ... Is there an easy way to see if anyone has been trying to gain access ?

    Hi,
    I am using both a wireless router from my cable company and an Apple Time Capsule with an Airport network set up. Is there a way to see if anyonehas been trying to acceess my network besides myself. Occasionally I get messages that another user is connected and I have security passwords in place. I am not sure if this is referencing my other Apple machines, iphone, ipad, macbook pro etc or if a neighbor is trying to get into my network.
    I do occasionally use the Air Display app to check a machine in another room and I wonder if this has compromised my security with the setting to use the app..
    I would like to make my network invisible to anyone except myself. I do encrypt everything using  passwords as well as File Vault. I can see many other networks in my neighborhood in the wifii list.
    Thanks for your help in advance.

    Thanks. In which case, try this:
    Library/CoreServices/Wi-fi Diagnostics.app and choose 'Turn on Debug Logs'.

  • Is there any way to see how many downloads or purchases any app on the app store has?

    So basically, I was just wondering if there is any way on the Internet or something, that I can check the amount of downloads or purchases any app has on the app store. Any help would be appreciated.
    Thanks,

    Hi SomethingNanika,
    First, thanks for being a Gamers Club Unlocked (GCU) member! It certainly sounds like you’re taking advantage of your benefits and I’m happy that you’re so consciously aware of the limitations of said benefits. I’m also happy to provide some details around the purchase limits and what does/doesn’t count towards those limits.
    When you purchase a game and pay for it fully, that counts as one towards your limit. If you return that game, that quantity of one is then removed from your limit. However, if you do a return and a rebuy, it basically counts as a wash, as you’re subtracting one and then adding it right back. Furthermore, simply placing a pre-order deposit doesn’t count towards your limit until the game is paid in full and the pre-order is fulfilled.
    Lastly, if your GCU benefits aren’t applied to a purchase, then you are correct in saying that would not count towards your limit of three titles. Also, here’s a refresher:
    “The limits for using your Unlocked membership will be three (3) copies of a new (i.e not pre-owned) video game software title per platform, per year. Collector's and Limited Editions count towards this title limit. Game of the Year editions, usually released much later and including additional content, do not count towards this limit. Game of the Year versions count as a separate title and have their own limit of three copies per platform, per year.”
     Let us know if you have any other questions!
    Brian|Senior Social Media Specialist | Best Buy® Corporate
     Private Message

  • Is there an easier way to see all my texts from one friend?  The harder way is just clicking "see more messages" over and over again on the iPhone.

    Hi Everyone!
    I would like to be able to see (and possibly print out) all the texts that I have exchanged with one of my contacts.  Right now, I only know how to see the older texts by clicking "see more messages" every time I want to go back further in our history. 
    Thanks for reading my issue!
    Lori

    If a password is filled then that can only be done if the password is saved in the password manager.<br />
    If only the name is filled then that can be done by form fill.
    *Form History Control: https://addons.mozilla.org/firefox/addon/form-history-control/

  • Call search space and partitions - is there a easy way to view

    Hi All
    I would like to know how my css and partitions all hang together on my call manager, is there a easy way of seeing this, like a visual or table view etc ?
    cheers

    Hi Carl,
    You can try the following. Using Bulk Administration, Export CSS data, you will get a tar file. Save that tar file in csv format. It will show the CSS names along with the list of partitions assigned to each CSS ( example output from my lab )
    css.csv    60      0      0         456 12345724671  11445 0ustarccmservice     0      0 NAME
    DESCRIPTION
    TYPE OF PARTITION USAGE
    ROUTE PARTITION 1
    ROUTE PARTITION 2
    ROUTE PARTITION 3
    Hunt CSS
    General
    Hunt-Partition
    ICT-CSS
    General
    CSS-Phone
    Hunt-Partition
    PT-Phone
    CSS-Phone
    General
    SIP-URI-PT
    PT-Phone
    HP-PT
    Forward-CSS
    General
    HP-PT
    HTH
    Manish

  • Can I see how many times a shared album has been viewed?

    I primarily use Revel to share photos of events since the files get too big to email more than 2 at a time.  Usually, there is a very limited group of people that would be interested but the link to one album was shared on Facebook and I'm curious to see if many people viewed that album.  Is there a way to see how many times the album has been viewed?

    Use your account credentials to log on to iTunes Connect. Or use those same credentials with one of the 3rd party app reports management tools such as AppViz, AppAnnie, etc.
    iTunes Connect
    https://itunesconnect.apple.com/ 

  • Can you see how many calls are waiting in a queue using Supervisor.

    Is there a way to see how many calls are sitting in a particular queue using supervisor or is there and additional software or hardware i need to use or purchase?
    I am using  Contact Center - 5.0(2)SR01_Build053

    Do you see any CSQs listed in the upper left box in the Supervisor?
    If so, when you click on one or the top-level tree item you should see stats relating to CSQs to the right. You may have to scroll that window accross so see some stats.
    Regards
    Aaron

  • Can I see how many people are subscribed to my blog via Live Bookmarks?

    My blog has a "Follow me" button that allows someone to sign up for my rss feed via Live Bookmarks. Is there any way to see how many people are following?

    There is no way to do this with the default RSS feed URL and iTunes, unfortunately. If you really want to see stats on your subscribers and stuff, you will need to translate your RSS feed to something like FeedBurner and then advertise that URL instead of the iWeb RSS.
    Here is an example of my feed:
    http://feeds.feedburner.com/dirtdoog
    There are lots of stats available through FeedBurner... http://www.feedburner.com

  • Java mysql ResultSet - how many rows

    Hi
    As a beginner java dude I'm trying to work with java on my mysql database instead of using perl (which works fine by the way). BTW this is not an apple specific question.
    I have properly managed to connect to my database and executa a query which returns a ResultSet object. By using the next() method I would like to populate an array with the results of my query using a while loop. All of this works fine. One problem persists however. I would like to know how many rows my query has so I can creat my array with the correct number , i.e if the query has 10 rows then the array should be String[] Array = new String[10].
    But i can only loop through the ResultSet once as it appears to be detsroyed after that. I have solved the issue by making two identical statements and I use one with getRow() in a while loop so I can create an array with the correct variables, and the other to loop through and populate the array.
    It seems to me there must be a better way to check how many rows a query returns ... i mean if I take the original query an put it through
    int nr = 0;
    while (rset.next()) {
    nr = rset.getRow();
    String[] Data = new String[nr];
    and then do
    while (rset.next()) {
    int count = rset.getRow();
    --count;
    int idnr = rset.getInt("One");
    String name = rset.getString("Name");
    Data[count] = idnr + " " + name;
    the the last while returns null results.
    How can withdraw the number of rows from the ResultSet and still use that same ResultSet in the last while loop? I have a feeling i'm missing something very elementary here.. but being new thats to be expected.
    Thanks

    Darn, just after I posted this I was struck by lightning and found an answer. The ResultSet isnt destroyed its just that the marker is at the end efter looping through a while loop, so if you want to loop again you have to the the marker to move to the absolute beginning.. thsi can be done using ResultSet.beforeFirst() which nice and neatly pops the marker back to its initial state.
    Sorry for bothering everyone.

  • HT204053 can I purchase from two different stores ie store in New Zealand and Store in Australia and  how do I sync updates on applications?  Do I have to switch ID's in my settings each time or is there an easier way.

    can I purchase from two different stores ie store in New Zealand and Store in Australia and  how do I sync updates on applications purchased from either store?  Do I have to switch ID's in my settings each time or is there an easier way.  The trouble is I set up my appleid in new Zealand and so all icloud and itunes and app stores are under New Zealand Apple ID I have since moved to Australia. Im a real beginner at this stuff so bare with me pse.

    I'm in the same boat as you -- except that I manage both a school lab (volunteer job) and macs in the enterprise (pay job).  What I think we need is the Education Volume Purchasing Program
    http://www.apple.com/education/volume-purchase-program/faq.html
    Unfortunately this all seems a little rough around the edges -- for example, I have found updates for AppStore apps on the support.apple.com updates download site, but then when I install them via ARD they don't actually update the software.  (The AppStore icons still show as needing the updates, and the version info reports the old version.)  The documentation is also vague about which AppleID to use in which circumstance.  I think they just haven't finished thinking through the implications of the various procedures and policies upon the various kinds of customers.  When we deployed Mountain Lion on the school lab, we made an install usb and went around and installed it on each computer -- and it appears that you are on the honor system as far as paying for all of the licenses that you install.  We did!  But they appear to have no way to enforce it.
    So far, I have only deployed 9 Lion macs in my day job, and our "solution" to the AppStore showing updates problem has been to drag the AppStore icon off of the users' docks so they don't see them!

Maybe you are looking for