How to print selected cells in numbers

Does anyone know how to print selected cells in a Numbers spreadsheet, rather than printing the entire sheet?
Also, how to save the selected cells as a pdf file without saving the irrelevant cells?

Hi nmygs,
How about this?
Cell A1 is a Pop-Up Menu containing names of the various "Departments"
Other cells contain formulas to find a match for whatever is chosen in A1 from the Very Big Data Table.
Reusable Print Me table.
Regards,
Ian.

Similar Messages

  • How do i print selected cells in numbers?

    how do i print selected cells in numbers?

    As I'm lazy, I use this script and paste where I want.
    --{code}
    set the clipboard to (the clipboard as «class PDF »)
    --{code}
    I  made a test which gave a funny result.
    Given a Numbers document with a chart.
    I selected the chart, the title and the legends
    then I grouped these objects.
    Select all
    copy
    run the script
    I pasted in the sheet to be able to take a screenshot.
    It's a bit inconsistent.
    Text values are passed when they are in cells
    They are passed when they are used as value labels in the chart
    but they aren't passed when they are chart's title or legend's components.
    Funny behavior, the graphic symbols are moved in the process to the location where they would be if the text components were nil strings.
    No comment upon a table's title which can't be selected with the table itself.
    Yvan KOENIG (VALLAURIS, France) lundi 3 octobre 2011 14:01:20
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • How to print selection only

    I saw this question on another forum and realized that I have no idea how to print 'selection only'. The only options in the file>print menu are for the pages desired. I see no way to print only the selected portion of a page. There must be a way, but I do not seem to be able to find the answer.
    Thanks, Fran

    I tried it with 'Grab' but the printout was too large. I then discovered that if you use 'Snag It' you can accomplish the same thing. Press Shift-command-3 for the whole screen or Shift-command-4 for a part of the screen. this creates a PNG image which when opened in 'Preview' can be printed. Rather complicated, but it does work. Thanks for steering me in the right direction.
    Fran

  • How do i lock cells in numbers

    How do I lock cells in Numbers?  I'm trying to create a spread sheet that will have unused cells and I want to lock them so my associates don't accidentally fill them in and cause the finished product to look muddled.

    Wayne,
    I previously could lock tables in my Numbers tables in my Spreadsheets by tapping the top left corner and it would show up as an option to lock it. As of Numbers 2.0 (noticed today), I get the option to unlock tables, but not to relock them after making the corrections.
    Any thoughts?
    Thanks!

  • How to outline selected cells during drag and drop in the jtable

    Hi,
    I have spent a lot of time to find out how to outline selected cells during drag in the jtable, but I did not find the answer.
    Can anybody give me a tip, where to read more about this problem or even better, give an example...
    I have the following situation:
    1.Table has 10 rows and 10 columns
    2.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION) and setCellSelectionEnabled(true)
    3.user select 5 cells in 4th row (for example cell45,cell46,cell47,cell48 and cell49)
    4.user starts dragging. During dragging an outline should be drawn. Outline should be a rectangular with width of 5 cells and height of one cell. Outline should move according to the mouse position.
    5.rectangular disappears when dropped
    Regards,
    Primoz

    In "createTransferable" you can create a drag image
    which you can paint in "dragOver" and clear in "drop" method of DropTarget :
    package dnd;
    * DragDropJTableCellContents.java
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swing.table.*;
    import java.awt.*;
    import java.awt.datatransfer.*;
    import java.awt.dnd.*;
    import java.awt.event.*;
    import java.awt.image.BufferedImage;
    import java.io.IOException;
    public class DragDropJTableCellContents extends JFrame {
        public DragDropJTableCellContents() {
            setTitle("Drag and Drop JTable");
            setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            getContentPane().add(createTable("JTable"), BorderLayout.CENTER);
            setSize(400, 300);
            setLocationRelativeTo(null);
        private JPanel createTable(String tableId) {
            DefaultTableModel model = new DefaultTableModel();
            for (int i = 0; i < 10; i++) {
                model.addColumn("Column "+i);
            for (int i = 0; i < 10; i++) {
                String[] rowData = new String[10];
                for (int j = 0; j < 10; j++) {
                    rowData[j] = tableId + " " + i + j;
                model.addRow(rowData);
            JTable table = new JTable(model);
            table.getTableHeader().setReorderingAllowed(false);
            table.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION);
            table.setCellSelectionEnabled(true);
            JScrollPane scrollPane = new JScrollPane(table);
            table.setDragEnabled(true);
            TableTransferHandler th = new TableTransferHandler();
            table.setTransferHandler(th);
            table.setDropTarget(new TableDropTarget(th));
            table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
            JPanel panel = new JPanel(new BorderLayout());
            panel.add(scrollPane);
            panel.setBorder(BorderFactory.createTitledBorder(tableId));
            return panel;
        public static void main(String[] args) {
            new DragDropJTableCellContents().setVisible(true);
        abstract class StringTransferHandler extends TransferHandler {
            public int dropAction;
            protected abstract String exportString(JComponent c);
            protected abstract void importString(JComponent c, String str);
            @Override
            protected Transferable createTransferable(JComponent c) {
                return new StringSelection(exportString(c));
            @Override
            public int getSourceActions(JComponent c) {
                return COPY;
            @Override
            public boolean importData(JComponent c, Transferable t) {
                if (canImport(c, t.getTransferDataFlavors())) {
                    try {
                        String str = (String) t.getTransferData(DataFlavor.stringFlavor);
                        importString(c, str);
                        return true;
                    } catch (UnsupportedFlavorException ufe) {
                    } catch (IOException ioe) {
                return false;
            @Override
            public boolean canImport(JComponent c, DataFlavor[] flavors) {
                for (int ndx = 0; ndx < flavors.length; ndx++) {
                    if (DataFlavor.stringFlavor.equals(flavors[ndx])) {
                        return true;
                return false;
        class TableTransferHandler extends StringTransferHandler {
            private int dragRow;
            private int[] dragColumns;
            private BufferedImage[] image;
            private int row;
            private int[] columns;
            public JTable target;
            @Override
            protected Transferable createTransferable(JComponent c) {
                JTable table = (JTable) c;
                dragRow = table.getSelectedRow();
                dragColumns = table.getSelectedColumns();
                createDragImage(table);
                return new StringSelection(exportString(c));
            protected String exportString(JComponent c) {
                JTable table = (JTable) c;
                row = table.getSelectedRow();
                columns = table.getSelectedColumns();
                StringBuffer buff = new StringBuffer();
                for (int j = 0; j < columns.length; j++) {
                    Object val = table.getValueAt(row, columns[j]);
                    buff.append(val == null ? "" : val.toString());
                    if (j != columns.length - 1) {
                        buff.append(",");
                return buff.toString();
            protected void importString(JComponent c, String str) {
                target = (JTable) c;
                DefaultTableModel model = (DefaultTableModel) target.getModel();
                String[] values = str.split("\n");
                int colCount = target.getSelectedColumn();
                int max = target.getColumnCount();
                for (int ndx = 0; ndx < values.length; ndx++) {
                    String[] data = values[ndx].split(",");
                    for (int i = 0; i < data.length; i++) {
                        String string = data;
    if(colCount < max){
    model.setValueAt(string, target.getSelectedRow(), colCount);
    colCount++;
    public BufferedImage[] getDragImage() {
    return image;
    private void createDragImage(JTable table) {
    if (dragColumns != null) {
    try {
    image = new BufferedImage[dragColumns.length];
    for (int i = 0; i < dragColumns.length; i++) {
    Rectangle cellBounds = table.getCellRect(dragRow, i, true);
    TableCellRenderer r = table.getCellRenderer(dragRow, i);
    DefaultTableModel m = (DefaultTableModel) table.getModel();
    JComponent lbl = (JComponent) r.getTableCellRendererComponent(table,
    table.getValueAt(dragRow, dragColumns[i]), false, false, dragRow, i);
    lbl.setBounds(cellBounds);
    BufferedImage img = new BufferedImage(lbl.getWidth(), lbl.getHeight(),
    BufferedImage.TYPE_INT_ARGB_PRE);
    Graphics2D graphics = img.createGraphics();
    graphics.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 1f));
    lbl.setBorder(BorderFactory.createLineBorder(Color.LIGHT_GRAY));
    lbl.paint(graphics);
    graphics.dispose();
    image[i] = img;
    } catch (RuntimeException re) {
    class TableDropTarget extends DropTarget {
    private Insets autoscrollInsets = new Insets(20, 20, 20, 20);
    private Rectangle rect2D = new Rectangle();
    private TableTransferHandler handler;
    public TableDropTarget(TableTransferHandler h) {
    super();
    this.handler = h;
    @Override
    public void dragOver(DropTargetDragEvent dtde) {
    handler.dropAction = dtde.getDropAction();
    JTable table = (JTable) dtde.getDropTargetContext().getComponent();
    Point location = dtde.getLocation();
    int row = table.rowAtPoint(location);
    int column = table.columnAtPoint(location);
    table.changeSelection(row, column, false, false);
    paintImage(table, location);
    autoscroll(table, location);
    super.dragOver(dtde);
    public void dragExit(DropTargetDragEvent dtde) {
    clearImage((JTable) dtde.getDropTargetContext().getComponent());
    super.dragExit(dtde);
    @Override
    public void drop(DropTargetDropEvent dtde) {
    Transferable data = dtde.getTransferable();
    JTable table = (JTable) dtde.getDropTargetContext().getComponent();
    clearImage(table);
    handler.importData(table, data);
    super.drop(dtde);
    private final void paintImage(JTable table, Point location) {
    Point pt = new Point(location);
    BufferedImage[] image = handler.getDragImage();
    if (image != null) {
    table.paintImmediately(rect2D.getBounds());
    rect2D.setLocation(pt.x - 15, pt.y - 15);
    int wRect2D = 0;
    int hRect2D = 0;
    for (int i = 0; i < image.length; i++) {
    table.getGraphics().drawImage(image[i], pt.x - 15, pt.y - 15, table);
    pt.x += image[i].getWidth();
    if (hRect2D < image[i].getHeight()) {
    hRect2D = image[i].getHeight();
    wRect2D += image[i].getWidth();
    rect2D.setSize(wRect2D, hRect2D);
    private final void clearImage(JTable table) {
    table.paintImmediately(rect2D.getBounds());
    private Insets getAutoscrollInsets() {
    return autoscrollInsets;
    private void autoscroll(JTable table, Point cursorLocation) {
    Insets insets = getAutoscrollInsets();
    Rectangle outer = table.getVisibleRect();
    Rectangle inner = new Rectangle(outer.x + insets.left,
    outer.y + insets.top,
    outer.width - (insets.left + insets.right),
    outer.height - (insets.top + insets.bottom));
    if (!inner.contains(cursorLocation)) {
    Rectangle scrollRect = new Rectangle(cursorLocation.x - insets.left,
    cursorLocation.y - insets.top,
    insets.left + insets.right,
    insets.top + insets.bottom);
    table.scrollRectToVisible(scrollRect);
    Edited by: Andre_Uhres on Nov 18, 2007 10:03 PM

  • How do I split cells in Numbers 3.2?

    How do I split cells in Numbers 3.2?

    Hey big one,
    I don't believe you can split cells in Numbers 3.2. It has not been not considered a good practice because it can lead to trouble down the line. This is true about merging also. I used to do a lot of that in '09. What I have found that I can generally get the looks I am after (getting text to span multiple columns for instance) by turning off "wrap text in cell" and playing with the justification.
    Hope this is in some way helpful.
    quinn

  • How do I print or export only selected cells in Numbers?

    Does anyone know how to do this in Numbers? I have been trying to do this for well over an hour...... I have looked at other posters' questions first, all the way back to 2008 in fact. The closest I have seen to an answer (and it is a workaround, not a true answer) is copy the selected cells into a new sheet. I have been using software spreadsheets (Lotus 123 and later Excel) going back to the mid-1980's. I cannot remember the last time I could not do this.
    Friends, I do realize that many of the workarounds would have taken far less time than what I have invested, please do not feel the need to point that out. I am heading for a workaround right now as I have run out of time to devote to this task. Also, please do not suggest that I should "capture" the data by copying a screen shot to the clipboard or have it dump a .png on my desktop. Most of us here should know how to do that by now but that does not address the underlying issue of how to provide only a select piece of a spreadsheet to a 3rd party in a professional looking format. Well, off to copy and paste........
    Thanks in advance,
    Bill G.
    Update (15 min later):
    Boy, I hope one of you out there knows the solution to this. Copy and paste the selected area does not work either. You lose (this was an "Oh, duh!" sort of moment BTW) any figures populated by calculations not in the selection area.
    Need to go eat, will try to feed the values in the new table from the same calculations in the first table. I can do that easily in Excel, I just have not tried it yet in Numbers. I am optomistic that it will work.
    Thanks again,
    Bill G.

    As I'm lazy, I use this script and paste where I want.
    --{code}
    set the clipboard to (the clipboard as «class PDF »)
    --{code}
    I  made a test which gave a funny result.
    Given a Numbers document with a chart.
    I selected the chart, the title and the legends
    then I grouped these objects.
    Select all
    copy
    run the script
    I pasted in the sheet to be able to take a screenshot.
    It's a bit inconsistent.
    Text values are passed when they are in cells
    They are passed when they are used as value labels in the chart
    but they aren't passed when they are chart's title or legend's components.
    Funny behavior, the graphic symbols are moved in the process to the location where they would be if the text components were nil strings.
    No comment upon a table's title which can't be selected with the table itself.
    Yvan KOENIG (VALLAURIS, France) lundi 3 octobre 2011 14:01:20
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • How to replace text in selected cells in Numbers 3?

    I want to replace a few words in Numbers 3, but I can't find where I can limit the replacement within chosen cells.
    In previous version, there was a drop down list I can choose to limit the replacement to chosen cells or current sheet.
    But now when I use replace all, it will replace all words in all sheets.
    Anyone knows how to do it?
    Thanks!
    Allan

    The Find Replace in Selection Automator Service (Dropbox download) can do what you want.
    To install, double-click the .workflow package and, if necessary, click 'Open Anyway' in System Preferences > Security & Privacy.
    To use, make your selection in a table, then choose Find Replace in Selection from the Numbers > Services menu.
    SG

  • How do i delete cells in numbers

    How do I delete cells in Numbers

    Delete as in "delete the contents of"?  Select the cell and hit Delete
    Delete as in it goes away and other cells shift into its place? Not a feature of Numbers. You can delete an entire column or row but not a single cell.  You can select surrounding cells and move them up or over one cell, thereby overwriting the cell to be "deleted".

  • How to print "selected objects" in InDesign CS4?

    I have a large calendar in ID CS4. I want to print and view some of the text in its actual size. My printer can only print A4 documents. How can I print only selected texts and objects in its actual size in this application?
    Although copying and pasting the text in another A4 sized document (IDCS4) would do it but there is no native support of "printing selection" but Microsoft's "Word' has!

    I think the layer option is best.
    Select what you want then open the layers panel and create a new layer. Select the objects you want to print, then in the layers panel you will see a small square to the right of the layer name. Alt Drag that to the new layer to copy the items, you can then turn off the visibility to the other layer and just print out the new layer.
    Then switch the visibility of the layers around to view the original artwork.

  • How to print selected (highlighted) info from the internet

    For some reason, this mac has a hard *$$ time just printing what I want it to. I select something on the internet using command "A". Then I click command "P". The screen that gives printing specifications doesn't have a simple tab that says "print selection". How can I get this darn thing to simply print what I have selected?

    Hi,
    OS X isn't very printer friendly.
    Print Selection Service 1.0 (freeware on VersionTracker) will add a "Print Selection" choice to the Services menu in the Safari menu.
    http://www.versiontracker.com/dyn/moreinfo/macosx/24202
    John

  • How to print selected statements

    see i have use two internal tables likp and lips.
    by using wadat_ist in select option to retrieve
    vbeln in the same likp table.by using the same
    vbeln in lips i have to retrieve flimg.Even i have
    got the answer i cannot able to print the wadat_ist
    field in likp table which is kept in select-options?
    send the coding plz

    Do you mean you want to print out the values entered into your select option for WADAT_IST?  Your question isn't very clear.
    Select-options are just internal tables with a specific format:-
    SIGN
    OPTION
    LOW
    HIGH.
    You should be able to debug through from your selection screen and see the values and hopefully figure out how to print them.
    Gareth.

  • How to print selected parts of a webpage

    How can I print selected parts of a webpage (or more than one), without printing whole pages? Screen shot is nor effective for what I want.

    See Print Selection Service here:
    http://www.schubert-it.com/free/

  • How to print selection

    Hello! I am new to Mac's and I cant seem to figure out how to print a selection of text vs. printing the entire page, article, etc. Help! I've tried highlighting the desired selection and printing but that doesn't work...any help??

    There is a very easy way to do what you want to do.
    Highlight the portion of text you want to print.
    Go to edit function and select "copy".
    Go to your tool bar and select the application "text edit".
    Go to edit function and select "paste",
    Adjust the font size to a larger size if needed.
    Go to file function and select print.
    If application "text edit" does not show in your tool bar, go to the "applications" folder and you will find it there.

  • How to disable selective cells in a column of a table?

    Hi
    I have a Table UI element having 5 columns. 4 of this are non-editable and only one is editable i.e. having input field . The data is picked from the backend. The 5th column also gets default data from the backend, which the user can later on change.
    But there is a condition, that only the input fields from that row onwards should remain enabled whose month field matches the current month. Rest all should become disabled or invisible.
    I worte the code in the wdModifyView() which picks the current date, and then in a loop it checks all the rows for the condition. If it matches the condition, it comes out of the loop, else it sets the enable property of input field to false.
    But when i run this application, all the cells become disabled, not selective cells.
    Is there a way in which I can sort this problem, any API using which i can access each cell by its row number and column number and then disable it.
    If anybody could please help, it is urgent.
    Thanks & regards,
    Anupreet

    Anupreet,
    Create a subnode with cardinality 1..1 and boolean attribute IsEnabled right under your data node. Write a supply function for this subnode, and set boolean attribute value depending on month in parentElement (parameter of supply function). Then bind InputField "enabled" property to this boolean attribute.
    VS

Maybe you are looking for

  • Can not create the connection in the enrironment!!

    hello,every one: please see the following code:           Environment *env = Environment::createEnvironment(Environment::OBJECT);           Connection *conn = env->createConnection(userName,password,connectString); try //use the conn           catch

  • Autorisation on Key figures

    Hi, is it possible to manage autorisation based on key figures. Or to manage a solution like : i create one query and if the user 1 has profile A he can see all key figures, user 2 with profile B can see just a part of key figures ? if yes how can i

  • Problems in WEB Dynpro The Table doesnt update

    Hi everyone, I did an WEB Dynpro Project and I created a table, and I wanna to fill that table  in the event doinit but it didnt update this is my code into a Controller methond public void llenaTabla( ) IPublicVisualizarContrato.IProductDataElement

  • Orientation is broken

    If you create a new Idea with a photo taken on an iOS device, everything will look fine in Ideas on the device, but if you upload it to Creative Cloud, it will probably have the drawing layer mis-oriented with respect to the image layer. Example here

  • IPhone not display podcasts from iTunes playlist

    I have a Smart Playlist created in iTunes containing podcasts, selected by intelligent criteria of my choosing. If I sync an old iPod Touch with iOs 6.1.6,  I can see the playlist w/o any problems. If I sync a new iPod Nano, I can see the playlist w/