Exporting selected range only from Excel / Calc

Hi,
I would like to know if it is possible to create a PDF that contains only a selected range of cells, when working in MS Excel or OO.o Calc.
I don't mean just checking the Print only Selection option -- that prints those cells, but into a letter-sized PDF.
What I would like to do is to have the selection and only the selection - with no surrounding white space (except perhaps a small margin) - in the PDF. That is, the PDF would be resized to match the dimensions of the selection.
I guess what I have in mind is similar what you would get if you created the PDF as usual, then cropped out the surrounding white space - but done automatically.
Many thanks in advance.
PS - I am using Adobe Acrobat 9.3 with MS Office 2007 or OO.o 3.2 on Windows 7.

I'm not sure this is relevant but I mistakenly wrote above that I was using Excel 2007. Actually, it's Excel from Office 2010 Beta. However, I remember trying this as well in Office 2007 so I don't think that's related.

Similar Messages

  • Limit users to execute "SELECT" statemes only from SQL Developer

    Hi:
    Is there a way to control what SQL command can be executed from SQL Developer?
    I am trying to limit users to execute "SELECT" statements only from SQL Developer.
    I believe SQL*Plus used to have the product profile where I can control what SQL command can be executed from what user.
    Thanks in advance.

    There's nothing special in sqldev to enforce privileges, the database does all that already. See the database documentation on the GRANT and REVOKE statements. Basically, you would only want to grant SELECT privileges to your users...
    Have fun,
    K.

  • DateField: Restrict user to select date only from the calender control ??

    How can I restrict user to select date only by using the Calender control, not by typing.
    Abhinav

    Hi,
    This is working perfectly but user can enter or delete date into the text_item >>>through keyboard i want to restrict that they can only select date from calendarSet Insert allowed to 'NO' in property pallete of item ENTRY_DATE.
    In ON-ERROR Trigger::
    BEGIN
    DECLARE
    err_code CONSTANT NUMBER := error_code;
    err_type CONSTANT VARCHAR2(3) := error_type;
    BEGIN
    IF (err_type = 'FRM'
    AND err_code IN (40200)) THEN
    Message('Updates Not allowed, Please Select Your Date from Calendar');
    Message(' ');
    ELSE
    NULL;
    END IF;
    END;
    END;
    Thanks,
    Bhujendra

  • Since selected groups only from iMac to iPhone

    why can't i select "selected groups" only when syncing contacts to iPhone. I am trying to transfer a particular group contact to my phone from "contacts on my iMac.

    Any chance your time zone is not set correctly on the iMac? As you are on the other side of the International Date Line it would be logical that changes would not register properly for 24 hours if either the computer or your phone was not set correctly. The phone should set itself but the computer's time zone is easily overlooked.

  • HT1526 deleting selected files (only) from trash

    How do I securely and permanently delete selected files from the trash bin?

    You shouldn't put files you may want to keep in the Trash.  It's not a storage location.  Make a separate folder on the Desktop.  I used to have one that I named Waste Basket (I even gave it a special icon).  I put files there when I wasn't 100% sure about deleting it, but I wanted to get it out of the way.
    But to answer your question, there is no way selectively delete what is in the Trash.  You'd have to drag the items you want to keep out of the Trash, empty the Trash, and drag them back into the Trash.

  • Passing selected members from excel add-in as parameters to calc script

    <p>Hi,</p><p> </p><p>I m trying  to pass parameters to a function in a calcscript(or member formula). The parameters will be members of adimension selected by users(from Excel add-in or Web analysis) atthe run time.</p><p> </p><p>For example, a user select years FY04,FY05,FY06 then I wantthese three years to be passed as parameters to my function.</p><p> </p><p>How can this be achieved in Excel and Web analysis?</p><p> </p><p>Hope to get a reply soon.</p><p> </p><p>Thanks,</p><p>Garima.</p><p> </p>

    <p>Thanks Bill and Tim.</p><p> </p><p>I checked the link sent by Bill but it doesn't seem that itwould be a help to me.</p><p>I checked the properties and methods mentioned.</p><p>Do you think it would be of use according to my requirement?</p><p> </p><p>Is there any other way or workaround for this?</p>

  • Exporting A Selection of Records to Excel

    Hi All,
    This is my first ever question to a forum, so please go easy on me! I'm also very new to Access and VBA. I'm building a database that stores (in related tables): TradingName, PropertyName, and PaddockName (as well as other relevant details). I have combined
    (Joined) the data I require into a table as well as a query.
    Now I want to export the Paddocks and Properties for each client. I have been able to export all clients and Paddocks (All Records) into Excel as well as individual Client and Paddock (Individual Record). But I want to be able to export all paddocks for
    a property or a client (multiple records for a client or property).
    My code is working for both scenarios (All Records and Individual Records) above but I'd like to know how to write code to export only selected Client or Property which is selected via a combobox.
    The Code I have used seems to be typical on all forums I have visited, but none does what I want/need.
    All help Appreciated
    Thanks
    Nath
    This sub exports a SINGLE Record
    'This Sub Exports ALL Records
    Private Sub btnExportXls_Click()
    Dim db As DAO.Database
    Dim rs As DAO.Recordset
    'Set db = DAO.DBEngine.Workspaces(0).OpenDatabase("C:\database.mdb")
    Set db = CurrentDb
    ' Set rs = db.OpenRecordset("MasterSummary", dbOpenSnapshot)
    Set rs = db.OpenRecordset("tblExpXlsClientPropPdkDetails", dbOpenSnapshot)
    'Start a new workbook in Excel
    Dim oApp As New Excel.Application
    Dim oBook As Excel.Workbook
    Dim oSheet As Excel.Worksheet
    Set oBook = oApp.Workbooks.Add
    Set oSheet = oBook.Worksheets(1)
    'Add the field names in row 1
    Dim i As Integer
    Dim iNumCols As Integer
    iNumCols = rs.Fields.Count
    For i = 1 To iNumCols
    oSheet.Cells(1, i).Value = rs.Fields(i - 1).Name
    Next
    'Add the data starting at cell A2
    oSheet.Range("A2").CopyFromRecordset rs
    'Format the header row as bold and autofit the columns
    With oSheet.Range("a1").Resize(1, iNumCols)
    .Font.Bold = True
    .EntireColumn.AutoFit
    End With
    oApp.Visible = True
    oApp.UserControl = True
    'Close the Database and Recordset
    rs.Close
    db.Close
    End Sub
    This Sub Exports A Single Record (Paddock) and is commented out as I trialed the other sub.
    'Private Sub btnExportXls_Click()
    '' The following Sub only exported 1 record at a time and only copied data to selected cells, it doesn't move to next free cells.
    ''Export Selected Client/Property to Excel
    ''First you must set a Reference to the Microsoft Excel XX.X Object Library
    ' Dim appExcel As Excel.Application
    ' Dim wrkBook As Excel.Workbook
    ' Set appExcel = New Excel.Application
    ' Set wrkBook = appExcel.Workbooks.Open(CurrentProject.Path & "\ClientPropertyPdkDetails.xlsx")
    ' appExcel.Visible = True 'Make Excel Window Visible
    ''Make Batch Sheet the active Worksheet
    ' wrkBook.Worksheets("Client Property Pdk").Activate
    ' With wrkBook.ActiveSheet
    ' .Range("A2").Value = Me![Client_ID]
    ' .Range("B2").Value = Me![TradingName]
    ' .Range("C2").Value = Me![Property_ID]
    ' .Range("D2").Value = Me![Property]
    ' .Range("E2").Value = Me![ID]
    ' .Range("F2").Value = Me![PaddockName]
    ' .Range("G2").Value = Me![PaddockArea]
    ' .Range("H2").Value = Me![ArablePdkArea]
    ' .Range("I2").Value = Me![MonitoredPdk]
    ' .Range("J2").Value = Me![SoilSamplePdk]
    ' .Columns("A:J").AutoFit 'Autofit Columns A thru J to hold contents
    ' End With
    ''DoCmd.OutputTo acOutputQuery, "qryClientPropertyPaddockJoined", acFormatXLSX, "K:\Dropbox\1a Graminus Consulting\Graminus Database\ClientPropertyPdkDetails.xlsx", , , acExportQualityPrint
    'End Sub

    Hi All,
    Thanks for your help and input much appreciated! I think I was in a rutt and trying to be too tricky (I think). I have since changed tact and created a Public Function (Below) that creates a temporary query and export that instead. It works a treat.
    Thanks Again
    Nath
    Public Function CreateQueryDAO()
    'Purpose: Create a query based on Clients Property Name to Export to Excel
    Dim db As DAO.Database
    Dim qdf As DAO.QueryDef
    Set db = CurrentDb()
    'The next line creates and automatically appends the QueryDef.
    Set qdf = db.CreateQueryDef("qryPropertyDetails")
    'Set the SQL property to a string representing a SQL statement.
    qdf.sql = "SELECT tblExpXlsClientPropPdkDetails.* FROM tblExpXlsClientPropPdkDetails WHERE [Property_ID] =" & Forms![frmExportClientPropertyPaddockExl].txtPropertyID
    'Do not append: QueryDef is automatically appended!
    Debug.Print "qry[qryPropertyDetails] created."
    'Start a new workbook in Excel
    Dim oApp As New Excel.Application
    Dim oBook As Excel.Workbook
    Dim oSheet As Excel.Worksheet
    Dim rs As DAO.Recordset
    Set rs = db.OpenRecordset("qryPropertyDetails", dbOpenSnapshot)
    Set oBook = oApp.Workbooks.Add
    Set oSheet = oBook.Worksheets(1)
    'Add the field names in row 1
    Dim i As Integer
    Dim iNumCols As Integer
    iNumCols = rs.Fields.Count
    For i = 1 To iNumCols
    oSheet.Cells(1, i).Value = rs.Fields(i - 1).Name
    Next
    'Add the data starting at cell A2
    oSheet.Range("A2").CopyFromRecordset rs
    'Format the header row as bold and autofit the columns
    With oSheet.Range("a1").Resize(1, iNumCols)
    .Font.Bold = True
    .EntireColumn.AutoFit
    End With
    oApp.Visible = True
    oApp.UserControl = True
    Debug.Print "Property Exported to Excel."
    'Delete new Query.
    db.QueryDefs.Delete "qryPropertyDetails"
    Debug.Print "qry[qryPropertyDetails] Deleted."
    'Close the Database and Recordset
    rs.Close
    db.Close
    Set qdf = Nothing
    Set db = Nothing
    'Source: http://allenbrowne.com/func-dao.html#CreateQueryDAO
    Private Sub btnCreateQry_Click()
    CreateQueryDAO
    End Sub
                                                 

  • Permitting user to choose value for a field only from F4

    Hi all,
       I have the following requirement in table maintenance generator.
       There is a custom field in the Z table for which table maintenance is generated to which a search help is attached.
       Now in the maintenance screen(SM30) i get a F4 value help for this field and also user can input values in this field. But the requirement is that the user should be able to select values only from F4 and should not be able to input any values.List box is not accepted.
    Thanks & Regards,
    Shafiq

    Hi Jon,
       Thank you once again. The issue is solved using the 'DYNP_VALUES_UPDATE' function module.
    I will put the code here for others to refer.
    ****ON THE SCREEN FLOW LOGIC*****
    PROCESS ON VALUE-REQUEST.
      FIELD /rb05/wwr_cr_t-mvgr4 MODULE value.  "Field on which F4 is required
    ****MODULE IMPLEMENTATION********
    *&  Include           /RB05/LYBW_WWRTTTI01
      DATA:
        l_fldval            LIKE help_info-fldvalue,
        l_repid             LIKE sy-repid,
        l_repid1            LIKE d020s-prog,
        l_dynnr             LIKE sy-dynnr,
        l_dynnr1            LIKE d020s-dnum,
        lt_return           LIKE ddshretval OCCURS 1,
        ls_return           LIKE ddshretval,
        ls_dynpread         LIKE dynpread,
        lt_dynpread         LIKE dynpread OCCURS 1,
        cnt                 TYPE i VALUE 0.
    MODULE value INPUT
      MODULE value INPUT.
        GET CURSOR LINE cnt.
        l_repid = sy-repid.
        l_dynnr = sy-dynnr.
        l_repid1 = sy-repid.
        l_dynnr1 = sy-dynnr.
        CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
          EXPORTING
            tabname           = space
            fieldname         = space
            searchhelp        = '/B05/OWWRW58'
            shlpparam         = '/B05/S_WWRW58'
            dynpprog          = l_repid
            dynpnr            = l_dynnr
            dynprofield       = '/RB05/WWR_CR_T-MVGR4'
            stepl             = 0
            value             = l_fldval
            display           = 'F'   "Force
          TABLES
            return_tab        = lt_return
          EXCEPTIONS
            field_not_found   = 1
            no_help_for_field = 2
            inconsistent_help = 3
            no_values_found   = 4
            OTHERS            = 5.
        IF NOT sy-subrc IS INITIAL.
          MESSAGE s398(00) WITH 'Call to Searchhelp failed'
            space space space.
          EXIT.
        ENDIF.
        CLEAR : ls_dynpread, lt_dynpread, ls_return.
        BREAK-POINT.
        READ TABLE lt_return INTO ls_return WITH KEY retfield = '/RB05/WWR_CR_T-MVGR4'.
        IF sy-subrc EQ 0.
          ls_dynpread-fieldname  = '/RB05/WWR_CR_T-MVGR4'.
          ls_dynpread-stepl      = cnt.
          ls_dynpread-fieldvalue = ls_return-fieldval.
          APPEND ls_dynpread TO lt_dynpread.
        ENDIF.
        READ TABLE lt_return INTO ls_return WITH KEY retfield = 'TXTSH'.   "Filling the related field
        IF sy-subrc EQ 0.
          ls_dynpread-fieldname  = '/RB05/WWR_CR_T-GB'.
          ls_dynpread-stepl      = cnt.
          ls_dynpread-fieldvalue = ls_return-fieldval.
          APPEND ls_dynpread TO lt_dynpread.
          CALL FUNCTION 'DYNP_VALUES_UPDATE'
            EXPORTING
              dyname               = l_repid1
              dynumb               = l_dynnr1
            TABLES
              dynpfields           = lt_dynpread
            EXCEPTIONS
              invalid_abapworkarea = 1
              invalid_dynprofield  = 2
              invalid_dynproname   = 3
              invalid_dynpronummer = 4
              invalid_request      = 5
              no_fielddescription  = 6
              undefind_error       = 7
              OTHERS               = 8.
        ENDIF.
      ENDMODULE.                    "value INPUT
    P.S: Points alloted.
    Message was edited by:
            Shafiq

  • Export Software Component only without Product in SLD ?

    Hi,
    Can I just export software component only from SLD without product included in the zip file ?
    Because currently either you export from product or software component both will be export all the component product and software component.
    Thank you and Regards
    Fernand

    Hi kubra,
    I cannot export product and software component separately.
    whenever i click button export either for product or software component both including related product or software component.
    Product :
    --> click export button (Hint : Export this product including all the software component).
    Software Component.
    --> click export button (Hint : Export this component, including the associated product and all other software component version for this product).
    any other way to export separately ?

  • Importing dates from Excel 2013 (XML)

    Hi all,
    So I have a fully mapped (and otherwise perfectly functioning) Excel file which my organization uses to load data into PDF forms. Unfortunately I cannot get dates to work correctly. Here is the error I get on Import:
    "Invalid date/time: please ensure that the date/time exists. Field [xxxxx] should match format m/d/yyyy"
    I've tried everything I can think of. The formats are identical for both the cells (XLSX side) and the fields (PDF side). I should note that I am exporting an XML file from Excel, rather than using FDF or XFDF.
    Any help would be greatly appreciated!
    Thanks in advance!

    OscarMayer --
    If you try exporting a Microsoft Project 2010 project to an Excel workbook using the Project Excel Template option in the Export Wizard, you can examine the resulting Excel workbook to see how the Start and Finish dates are formatted.  I can tell you
    that the dates are NOT formatted as text.  They use the General formatting and they show BOTH the date and the time.  Using this information, perhaps you can adjust the data in your own Excel workbook and try importing the data again into the Microsoft
    Project 2010 file.  Hope this helps.
    Dale A. Howard [MVP]

  • Selection "Automatically update selected podcasts only" disabled in iTunes

    I would like to manually select the podcasts updated to my iPod Mini. For some reason the option "Automatically update selected podcasts only" is not available in my iTunes 6.0.4. The option is disabled/grayed and the list of podcasts below it is empty.
    What could be the reason for that kind of behaviour?
      Windows XP  

    The Podcasts tab in iPod preferences only applies to podcasts you've downloaded via iTunes. Podcasts in your library are considered music even when the Genre is set to "Podcast".
    To automatically transfer those files to you iPod, create a (smart) playlist with just the podcasts and choose "Automatically update selected playlists only" from the Music tab in iPod preferences.

  • Exporting selection or range only

    How can I only export the range (cycle region) in my multitrack Soundtrack Pro project? The only option under the File menu is Export, and then the only options are Master Mix, Selected Tracks/Busses/Submixes, All Tracks/Busses/Submixes, All Tracks, All Busses, and All Submixes. Nowhere does it seem to give the option to select only the range.
    I thought it might do it automatically if a cycle region was selected (in and out points), but it still exports the entire mix...whatever's on the timeline.

    Hi
    I've don't have enough experience to say for sure but if you can't export a selection from a project directly perhaps you could create a compound clip of your selection and export that, even if you have to put it in a new project.
    However compressor WILL export a selection for you. Once you have sent to compressor, open the Preview window (in compressor) from there you are able to set in and out points
    hth
    Adam

  • How to select data from excel within certain range?

    hi all, i am having an application where i am reading data from an excel sheet. in my case i am taking the date as an input from the user in range i.e starting date and end date in dd-mm-yy format( or to to from)and then i have to read the data of all dates which come between given range by the user....
    how can i do it????
    can anyone help......
    thanks in advance.........

    Did you get the solution for your question ?
    I have the same requirement,
    1. Here, the user will provide the range like maximum and minimum values, then the VI should capture the data within the given range. ( from CSV file as attached )
    2. Then VI should calcluate the average value for captured data and export it to excel.
    This is my requirement can anyone help me on this.  
    Many thanks in advance
    rc_cks
    Attachments:
    sample_short.csv ‏2439 KB

  • Identify multiple Excel selection ranges passed to VBA.

    If I select two ranges of a worksheet from within the worksheet/Excel itself and run a VBA (macro) to perform operations in VBA on the ranges, how do I identify those two selections in the VBA code to work with
    them?
    In other words, in the work book drag with the mouse to select a range, then Ctrl+drag a second range then call/run the macro/VBA. (For example, right-click drag cells B11 to B14, release, then Ctrl-right-click cell F1 (or F1 to F7). Then run the macro.)
    How do I reference those two selected ranges (B11:B14 and F1 or F1:F7from the example) in the VBA code?
    I see many example within VBA of selecting multiple ranges, but how do I refer to ones "passed" to the macro? (I'm thinking it would be something like Application.Selection.first and Application.Selection.second, etc but VB doesn't show anything
    to choose past Application.Selection .)
    Is it even possible to identify that two selections exist or is it all one selection, even if they are disjoint ranges?
    If it's all one selection (Application.Selection), how might I identify two non-contiguous ranges from within the selection and "split" them into two?
    I just found out that in Excel I can select three non-adjacent cells from any row or column, but I can only copy those three cells if they are on the same row or column. I didn't try more cells.
    This is all in Excel 2007.

    JimC, you get my ANSWERED vote!
    As near as I can tell, it does almost exactly what I need. I tested with four non-contiguous cell selections and the loop displays each one in the order selected.
    What it doesn't do is give the range of a contiguous area in the order of selection, meaning selecting e20 to a3 (dragging up to the left) gives range a3 to e20. Essentially, a range bigger than one cell is always identified as lowest order cell
    to highest order cell.
    I can handle that if needed by selecting individual cells through the range (as long as it's not too many cells) in the order I want to deal with them.

  • Clip from in-out selected range

    How do you make a clip from an in-out selected range on the storyline in FCPX?

    Thanks Tom...
    What I meant by a selected range was basically, when working in the timeline of previous NLE's I've used, sometimes I have a section of the timeline that I'd like to make a standalone clip of...  to keep it in a library of clips that remain online and un-archived for repeated use...
    In other NLE's I've been able to create an in-out point to encompass the selection of video I wanted to export to a clip, and then export just that selection between the in and out point on the time line...
    In FCPX I only see a way to share the entire storyline, but was hoping for the added functionality to which I am speaking...
    Thank you though...  I will have to do a little extra work accomplish this manually I suppose, unless you can share a way for me to change my thinking on how to accomplish this another way in FCPX.  Regards.

Maybe you are looking for

  • Problem with month to month subscription of Illustrator

    Hi - I have the month to month subscription of Illustrator on my computer. Today it won't open and says I am missing certain plug-ins? Like "round corners"? How do I fix this?

  • Installed Yosemite - audio line out no longer working

    After installing Yosemite, sound will only play from my Mac Pro's internal speakers. Opening Preferences > Sound and selecting Line Out has no effect. Why does the Line Out no longer work with Yosemite?

  • Pls sugg.modification of an orded prod is sevice or std purchase

    hi dear frds, we have raised one po against the butterfly valve manufacturer(vendor).according to PO they have manaufactured and made it ready.but before delivery of valves,we have noticed that some modifications to be done in this design of valves.s

  • Trying to make panorama

    I am trying to stitch 3 photos together. I'm not wanting to make a panorama in the sense of I being 1 scene but rather to make a montage. I'm wanting to merge 3 insect pics into 1 single image so I can use it as a header on my website. When I use the

  • Update stuck at terms & cons page

    Updated to ios7 - made me change my id password, then once I get to the terms and conditions pages agree or disagree I cant get past that page. if connected to itunes it sees everything fine on the ipod touch. Turn it on & off still stuck. Any ideas?