Printing a formatted Workbook by cliking a button

Hi Gurus,
i have created a worbook and would like to set up paremeters to ajust my sheet before printing it.
I would also like to include a button which will in case on clicking on it to print the report.
Thank you in davcane for your Input.
Cherss

Hi Reddy,
thank you for replying.
I know how to set up a print Area.
But how can i add a button to the excel workbook and assign a macro to do the printing?
Could you please give me the steps to follow?
Thank you in advance.
Cheers

Similar Messages

  • Thanks For Your Support in advance i want to know that when I open a website that time view print option and when I click close button then page also new window page also close. I want to copy it how i can stop this print option?

    WHEN I OPEN A URL THAT TIME WITH PAGE OPEN SHOWS PRINT OPTION AND WHEN I CLICK CLOSE BUTTON OF PRINT OPTION THAT TIME NEW WINDOW BUTTON IS CLOSED. I WANT TO CLOSE ONLY PRINT OPTION. PLEASE HELP ME...............THANKS

    Many sites which offer specific "print formatted" pages do that: they assume that once you have finished with the print dialog you no longer want the page itself. So for your convenience they close it. Not so convenient for you, since you still want to view the page.
    I'm not aware of an easy solution for this. I can think of a couple different approaches.
    First, maybe there's an add-on to solve this? That would be easiest.
    Second, maybe there's a userscript to solve this?
    The Greasemonkey add-on runs userscripts which you can copy or download. Be careful to install only long-establish and trusted scripts. (''Is there a site that has this bad behavior that I can view without logging in? I will test one of my existing scripts to see whether it helps.'')
    Third, Firefox has an old system for restricting site permissions in a custom text file in your profile folder (named user.js). Editing this file is a bit advanced, and I haven't been able to test it, but the system works along these lines:
    <br>// Define a policy name for window.close permission
    // (assumes you don't have this pref already)
    user_pref("capability.policy.policynames", "nowindowclose");
    // Define policy: disable sites from using window.close
    // in their scripts
    user_pref("capability.policy.nowindowclose.Window.close", "noAccess");
    // List of sites subject to this policy
    user_pref("capability.policy.nowindowclose.sites", "firstbadsite.com secondbadsite.com");
    Again, I haven't tested that and recommend looking into add-ons first.

  • How can I print File Format definitions?

    We have multiple text and spreadsheet input files we use to load data to our DW.  Is there a way I can print the format definitions for the the text and spreadsheet files?
    I've used the Auto documentation feature for work flows and data flows, but don't see an option for the print the File Formats (very well could be user error!).
    Thanks for any insight...
    Dan

    You can view the file format in the Auto Documentation page but don't see a button to print it out.  Is this what you are looking for? ...
    May print the web page in browser  

  • UML Class diagrams: Printing and formatting

    I really like the UML capabilities of NetBeans 5.5. In particular, I like the ability to create a "centered" dependency class diagram by right-clicking on a class and selecting "Generate Dependency Diagram."
    However, I am having trouble with some basic printing and formatting issues. I am hoping that I'm just being stupid, but I haven't been able to find documentation on how to fix this. I am using Red Hat Enterprise (3.4.6-3).
    I recently reverse engineered an 800 class project, and it didn't take too long. Less than a minute, probably.
    1. Can't get a landscape printout. Fiddle with Page Setup and Print menu items, set to landscape, but almost always get a portrait mode printout. Why?
    2. The arrowheads are frightfully small. How do you make them bigger?
    3. How can you globally set a preference to only show public attributes and operations for all classes?
    Thanks for the help.
    Dave Godbey

    Good to hear your feedback. Thanks.
    #1. there's a known bug on printing to landscape mode. However, the following workaround should print you a landscape diagram.
    - from the diagram window toolbar, click on the Print Preview button
    - from the Print Preview dialog, click on Print Setup
    - from the Print Setup dialog, click on Page Setup at the bottom left
    - from the Page Setup dialog, toggle the Landscape orientation radio button
    - press the OK button on the Page Setup and Print Setup dialogs: Your print preview should now be displayed in landscape orientation
    - now click on the Print button from the Print Preview dialog to print
    #2. I believe your diagram must be big so that the arrowheads are displayed small. Currently I don't see a way to make them bigger. Sorry for the inconvenience. I can file an enhancement on this for you or you can file one for yourself too thru the following URL.
    http://uml.netbeans.org/issues/enter_bug.cgi?component=uml
    #3. As for global preference to show only specific attributes or operations, there's an enhancement bug already, but the current version of the tool doesn't have this preference setting.

  • How to print a formatted page in java?

    hi all
    i've made my simple application that writes and retrieves information to/from a database, and organizes them in reports
    now, i got to print these reports in formatted pages like, for example:
    title centered and bold
    first db record
    second db record
    eccc
    i followed the http://java.sun.com/products/java-media/2D/forDevelopers/sdk12print.html documentation and wrote this class
    import java.awt.print.*;
    import java.awt.*;
    import java.text.*;
    import java.awt.geom.*;
    import java.awt.font.*;
    public class print implements Printable
    //the "\n" token doesn't allow me to do a new line, as i want!!
        String mText="The JavaTM Print Service \n is a new Java Print API that allows printing on all Java platforms, including platforms requiring a small footprint, such as a J2ME profile, but still supports the current Java 2 Print API. Thie Java Print Service API includes an extensible print attribute set based on the standard attributes specified in the Internet Printing Protocol (IPP) 1.1 from the IETF. With the attributes, client and server applications can discover and select printers that have the capabilities specified by the attributes. In addition to the included StreamPrintService, which allows applications to transcode data to different formats, a third party can dynamically install their own print services through the Service Provider Interface ";
        AttributedString mStyledText=new AttributedString(mText);
        static public void main (String args[])
            PrinterJob printerJob=PrinterJob.getPrinterJob();
            PageFormat format=new PageFormat();
            format=printerJob.pageDialog(format);
            Book book=new Book();
            book.append(new print(),format);
            printerJob.setPageable(book);
            boolean doPrint=printerJob.printDialog();
            if(doPrint)
                try
                    printerJob.print();
                catch(PrinterException ex)
                    ex.printStackTrace();
        public int print(java.awt.Graphics g, java.awt.print.PageFormat format, int param) throws java.awt.print.PrinterException
            Graphics2D g2d=(Graphics2D)g;
            g2d.translate(format.getImageableX(), format.getImageableY());
            g2d.setPaint(Color.black);
            g2d.setFont(new Font("Serif",Font.PLAIN,5));  //this doesn't work!!!
            Point2D.Float pen=new Point2D.Float();
            AttributedCharacterIterator charIterator=mStyledText.getIterator();
            LineBreakMeasurer measurer=new LineBreakMeasurer(charIterator,g2d.getFontRenderContext());
            float wrappingWidth=(float) format.getImageableWidth();
            while(measurer.getPosition()<charIterator.getEndIndex())
                TextLayout layout=measurer.nextLayout(wrappingWidth);
                pen.y +=layout.getAscent();
                float dx=layout.isLeftToRight()?0:(wrappingWidth-layout.getAdvance());
                layout.draw(g2d,pen.x+dx, pen.y);
                pen.y+=layout.getDescent()+layout.getLeading();
            return Printable.PAGE_EXISTS;
    }this works, and is great the dialog to choose the paper orientation and the printer, but i'm still not able to do the simplest things: like
    - change the font of my text (as you can see in the print() method)
    - do a new line in my text (as you can see in the beginning of the code)
    so, now that i'm able to print some text, i'd like to be able to change the format of my printable page
    any advice?
    i didn't find any tutorial really complete! anyone can suggest me any?
    thanx a lot in advance
    sandro

    I'm not sure if you still need this, but try \n\r instead of simply \n.
    \n is a new line, but \r signifies the carriage return, back to the left. I'm not sure if it's always necessary, but it was in my case.

  • Unable to Align the fields according to the Pre-Printed Cheque format

    Hi,
    I am having a requirement where I need to align the report output according to the Pr-printed Chekc Format which is loaded in the printer.
    In detail we have a pre-printed format of the cheque which will be loaded into the printer which includes the logo and the amount fields with the symbol of currency,date etc.
    I need to print the output which is runned by formating the payment batch.I am getting the output printed but not in the exact palces where I need.I tried to modify the report fields by increasing the length and width of the main section but of no use.Can any one help me out at the earliest.
    I am getting the output either out of the symbol of currency and even the date as well.
    Thanks for your help in advance.
    With Regards,
    Sunil.

    Can you explain briefly the below point which you have mentioned.
    "Also set the increase the size of fields upon the size of pre-printed area and set the horizontal Elasticity to FIXED. Then align and print."I meant that increase the size of fields according to the size of pre-printed document and set the horizontal elasticity to FIXED so it will not go out from the desired space.
    Well, this is what i said you will have to set the alignment and will have to check by printing again. There is no specified format of pre-printed document type reports.
    -Ammad

  • Print out Format Modification for Orders & Notifications

    Dear All,
    I need to create new Print out format for Order & Notification.
    Can any body suggest what will be the necesary config settings need to be done after creation of new  Print out form & how i can achieve it?
    Regards
    Dhiren

    Dhiren,
    After creating a new form,please follow the below steps..
      1) Use transaction OIDF to create  a New shop paper by copying a existing shop paper (Which suits your needs). Replace the SAP Script form with your new form and try to keep the same standard program. 2) Use transaction OIDG to assign the shop paper to order type.
    Use transaction OIDA and OIDB to do the same two steps for the Notification.
    Regards
    Narasimhan

  • HT4356 I downloaded Printopia Demo to my Mac laptop, but when trying to install it, a window comes up showing the printer is recognized, but there is no button to go any further. What do I have to do?

    I downloaded Printopia Demo to my Mac laptop, but when trying to install it, a window comes up showing the printer is recognized, but there is no button to go any further. What do I have to do?

    Close the window and print .... Read this for the details. Once you install it - you should be able to print from the print option in any app.
    I have downloaded the demo twice. I forget exactly how to do it, but it is very simple. If you installed Printopia, just try to print something - try a web page or a photo. Tap the Arrow icon in the upper right corner in most apps to get to the print option.

  • Camera shops can't print RAW format

    Recently I've come back from a beautiful Caribbean cruise with new photos taken with my Nikon camera. As soon as I came home from my vacation, I immediately took my flash card to the local camera shop hoping to get my pictures developed. I thought it was going to be as simple as me handing over my flash card, and getting my pictures. Unfortunately, I found out that my local camera shop doesn't print RAW format pictures. What is the best format to transfer to without losing quality? The local dealer said jpeg.

    The reason you shoot in Raw format is so you can have more options and control in post processing. If you intend to let a program (or a printing lab) use automatic setings to convert the raw imagesto JPG then there is no point in shooting raw images. In other words the point of using Raw is so you can exercise crative control over processing and printing.
    Typically when shooting raw format you would download the images onto you computer and then use a program (CS2, Aperture, or iPhoto) to select the best shots, trash the others and then crop, color balance and apply other edits to the images then finaly export them as JPG and burn to a CD or DVD to give to the lab. But if you only have a few images, say around 100 or so, like you say you have, there are services where you can upload the image files over the Internet. Just start the upload process before you go to bed one night and then pick them up at the retail outlet the next day. Saves you a trip.
    If what you want is prints made straight off the camera then set the camera to record in JPG. Some photographers can "get it right" in the camera but I find one advantage of digital is that I get a chance to fine tune the image after I shoot. Many times I'll do much more then "fine tune" and go in with an editor and make changes to the background or something. I'll spend at least a couple minutes on each image I think is worth printing and sometime I'll work on it for an hour if I really like it

  • Output in print out format

    hi
       i have a problem.
       i am doing a alv report. the output of the report should be in print out format.
       is there any function module?
       tell me the complete step to solve my problem.
    thank u.

    Hi muthuktl  ,
    If you are using FM REUSE_ALV_GRID_DISPLAY to disply report then use REUSE_ALV_LIST_DISPLAY.
    or else when you execute the report in Grid Display format in menu bar -> List - >Print Preview it shows the List format you need not to change anything.
    Hope it ll be useful.
    Regards,
    Sunil kairam.

  • Print tiff format

    Hi guys,
    I'm trying to print a tiff format image, I can print gif formats, but if the image is tiff, it doesnt print, on my researchs I saw that is not so simple as I'd like it to be, so if anyone here has done it before, print tiff images, pls send me directions.
    tks

    You need to make a Feature Request here: http://feedback.photoshop.com/photoshop_family
    This is a User forum and request here are lost.
    delroy wrote:
    I would really like to see the ability in the Print to File option in the Print Module to print to a TIFF file, not just jpeg. I deal with print shops that accept 16bit files in both ProPhoto and Adobe RGB formats. Would save time instead of having to create file in PS.
    Thanks.

  • 57F4 Print Output format for Subcontracting

    1. How to assign Print out put format for goods issue made against a subcontracting vendor
    2. How to assign print output format for 57F4 Subcontracting challan
    3. What are CIN settings for subcontracting po.

    Hi,
    Maintain the Outout type J1IF for the excise group - SPRO - IMG - Logisitics general - Tax on goods & movements - India - Business transactions - Subcontracting - Maintai subcontracting attributes
    check following link
    [http://wiki.sdn.sap.com/wiki/display/ERPLO/SubcontractingChallan57F4_J1IF01_J1IF11]
    Regards
    Kailas Ugale

  • Formatted workbooks

    Hi,
    i am looking for formatted workbooks, especially those without VBA code. can you please send me same examples.
    Thank you.
    <removed>
    Edited by: Arun Varadarajan on Nov 28, 2008 4:50 PM

    Hi Pcrao,
    Thank you again, the major problem i am facing is the mapping problem between the formatted sheet and the query result sheet.
    in my query i have a huge number of KF the i need to format to get a dashboard, so i created a new sheet with the required format but mapping the two sheets is fastidious task: i need to add the technical name of the KF to its description in the query and map the two sheets according to that technical names.
    so i am wondering if there is a better solution to do the mapping, or maybe a better solution to get the query sheet it self formatted ....
    Thank you.
    Edited by: Anass M on Dec 1, 2008 11:23 AM

  • Schedule workbook for  print  .pdf format and broadcasting

    Hi
    I want to know how to print a workbook into .pdf format and send mail.
    I prove with Broadcasting, but this working only with xls or zip format.
    I work with workbook because in this report can have columns' size constant.
    Thanks for yours help.
    Verien

    when ever u r trying to send work book across as a mail u will have  only one default option ie excel sheet.i didnt see any option of exporting working as a pdf etc .
    hope this helps.

  • How to print a page in printer friendly format.

    Hi,
    I have a requirement, I need a Print button which can print APEX page in given formate. I can not use just window.print. Since I need Print option in APEX page not in report, Please let me know how t oachive this.
    Thanks,
    Priyanka

    Not sure what you mean, but if you add "YES" as 9th parameter in your APEX URL your Page is rendered in "PrinterFriendly" Mode.
    For URL Syntax: http://www.oracle-and-apex.com/apex-url-format
    See the documentation for details.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    Work: http://www.click-click.at

Maybe you are looking for

  • Should I boot from external hard disk and how do I achieve this?

    I'm in a downward spiral and need advice about if booting off of an external hard disc is the right thing to do and how to go about it. How I got into this mess I'll write below. My immediate problem is that I want to be able to install a copy of osx

  • Start Routine logic problem !

    Experts , in my start routine, my Source-field-fieldname has value "ABC123" and i need to assing this value in reverse order like "123ABC" to the Infoobject. How do i get this output ? thankss

  • Performance Problem while Aggregation

    Performance problem while aggrgating These r my dimension and cube i wrote customized Aggrgation map and i m aggragating all dimension (except for last level a unique one (PK) + cube . My system config is good .. But Aggrgation deployment (calculatio

  • ANY DVI KVM Recommendations?

    I'm looking at the Gefen 2x1 DVI KVM Switch: http://www.kvm-switches-online.com/ext-dvikvm-241.html It seems that it has a good reputation so far. Can using a KVM damage your display?

  • Read this and free up 300GB or more of wasted After Effects disk cache space...

    I noticed on my MAC that the After Effects disk cache folders took up 400GB of space, even though I told it to only use 100GB. I run my disk cache on an SSD so space is valuable. I investigated and realized that every time After Effects has a new ver