How can i print an excel spreadshee​t file by clicking a button on the front panel

i have designed a vi that logs data into an excel spreadsheet. i want to take print out of the file when the user clicks a button on the front panel. what to do if there is very large amount of data.

Preet,
Printing the Excel sheet is just an ActiveX method call to print the worksheet. To add data to the worksheet, you already have the reference, just call a print method. As for handling large amounts of data, that is a vague question. The data will print how ever you placed it on the worksheet. If what you mean is that you don't want to print out 25 pages every time, the print method has options to only print specific pages or ranges. You may want to play around with a sample spreadsheet to learn the printing options. For help on the ActiveX functions, make sure you have the Visual Basic help installed for Excel.
Randy Hoskin
Applications Engineer
National Instruments
http://www.ni.com/ask

Similar Messages

  • How can I make a global change so all controls and indicators labels on the front panel change to another colour?

    How can I make a global change so all controls and indicators labels on the front panel change to another colour?
    I need to change the front panel so that it can be used in a dark environment.

    Hi
    The only way I see, is to use the "Controls[]" property and iterate through all of them. But don't forget about nested elements (i.e. clusters, tab-controls, ...).
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...

  • How to run a subVI without poping up normally, but when clicking a button, popup the front panel?

    I know pop-up the front panel of a subVi when called by selecting VI Properties>>Windows apperence.
    But what I need to do is: always run the SubVI inside the parent VI as the nornal subVI do without poping up. But when I click a button"show front panel", the SubVI popup the front panel.
    Is there anyway to do this?
    Thanks,

    ossoo,
             You can use a static VI reference to the subVI and then use the Front Panel Open invoke method to show the front panel when you want. I have attached two VIs that show this. I saved these VIs for LabVIEW 2009 so you should be able to open them up and run them in 2009 or later. Add.VI is the subVI that you are calling. The Caller.VI is just a While Loop that contiually calls the Add subVI. Inside of the While Loop is also a Case Structure with a Static VI Reference (you might need to change the path this is pointing to after downloading the VIs to your computer for this to work) and the Front Panel Open invoke method. You can run the Caller.VI and interact with the main Front Panel as normal and see the subVI but then you can click the Open subVI? boolean button and it will open the subVI's front panel. You can continue to interact with the main front panel and see the values update on the subVI's front panel as well. You can just close the subVI's front panel when you are done viewing it. Does this help?
    Grant H.
    National Instruments
    LabVIEW Product Marketing Manager
    Attachments:
    Caller.vi ‏19 KB
    Add.vi ‏23 KB

  • How can i open a slide in another file on clicking a button from another file

    Hello guys!
    This is my first post on captivate community. I've sucked into a problem. Is this possible somehow to open a slide in another file while clicking on a button that is in a different file.
    Any help would be appreciated.
    Thanks

    Jim's post might help in this.
    Jump to a Specific Slide in a Course Using Captivate 7 - CaptivateDev.com
    http://captivatedev.com/2011/05/01/how-to-jump-to-a-specific-slide-in-a-separate-course/
    Read through the comments as well. You will generally find useful info there.
    Sreekanth

  • How can I stop Firefox 34 from crashing when I click a button on the NOrton 360 toolbar??

    I have the latest Norton 360 and fully updated. Also have FF 34.05. After anywhere between an hour and 3 hours, clicking any of the Norton Toolbars buttons that open options and provide multiple log in options FF crashes and when I reopen it it brings up my old tabs and at the end it brings up the FF welcome screen. In the options, it changes my opening page to the Norton Welcome page and the option to open previous tabs which was there with open default site which now it the welcome screen. Need help as have tried several fixes from the net and none so far work. Have allowed FF to reinstall the pref file, have removed hardware acceleration as well as put flash into a non protected mode and none help.
    Don't know if it is a FF or Norton issue but, it is a real issue. Please help.

    Thanks for your quick turn around. I'd be surprised if corrupt files as I only got the machine last Thursday but, it was a refurb so perhaps issues from the previous owner.
    Do have some questions as follows:
    It is a Windows 8.1 64 machine so will the fix recommended work??
    looking at the page, appears option 2 is my best bet but, won't start until I get the go for Win 8.2. Assuming this is a good fix and since I would be doing it with the system and not a program, no malware??
    As far as drivers, do have a app from HP that updates drivers and I updated everything after I got it going so should have the latest drivers and I did try alone unclicking the machine acceleration and no change there but, with the scan, might help. I have run all of the Windows updates which were quite a few with a new computer and do have Windows set to perform automatic updates so don't think I need to worry about graphic drivers??
    Your thoughts on my questions before running the scan at the elevated admin level. By the way, I am the admin so do I simply run as admin or is there a higher thing I need to do to run at High Administrator???
    Also, if after I run the scan and repair, if OK on Win 8.1 should I send your results to Norton for them to look at since almost all of the problems are with Norton and perhaps they have a fix with those issues and having running the driver fix should help them?? Also will the scan and repair indicate what was fixed and what wasn't.
    Sorry so many questions but, don't want to mess up my new machine.
    Thanks so much,
    Dave

  • In Contacts version 8, how can I print ALL information in each individual card? When I select the print command the only thing printed is the name and address. I need phone number(s) and all other information in the cards.

    In Contacts version 8, how can I print ALL information in each individual card? When I select the print command the only thing printed is the name and address. I need phone number(s) and all other information in the cards. We enter various pieces of data, other than the standard name address & phone numbers and we print all information on each card so it fits in a 5x7 inch loose binder. We have used InTouch software for many years and it has served us extremely welll, however, the publisher (The Prairie Group) has not, and apparently has no plans to update their software to be compatible with any Mac OSX OS beyond 10.6. Any help will be appreciated!

    You can select what you want included in a list format. In the Print command from Contacts, click the Show Details button. Then in the Style pulldown menu select "Lists" and there you'll be able to select what you want included. You can also select what you wish included if you select the Pocket Address Book style.
    If neither of those options will work for you, then you will need to look to third-party software. Here's one possibility that seems to get good reviews:
    https://www.macupdate.com/app/mac/15485/labels-&-addresses
    I haven't done more than try it to make sure that it works with OS X 10.9's Contacts, which it does, but you can download their demo and try it yourself.
    Regards.

  • HT2470 HOW CAN I IMPORT WORD , EXCEL, POWER POINT FILES TO MICROSOFT 2011 PRELOADED IN MY I Mac ?

    HOW CAN I IMPORT WORD , EXCEL, POWER POINT FILES TO MICROSOFT 2011 PRELOADED IN MY I Mac ?

    First, don't post in all caps. It's considered shouting and very rude. As for your issue, http://answers.microsoft.com/en-us/mac

  • HT204003 how can i print a boarding pass image file from passbook?

    how can i print a boarding pass image file from passbook?

    I do not believe that Passbook supports printing. You can email, but not print. Then again I'm not sure what it actually emails, if that is a graphic of the card or what. I'm going to try it with my Starbuck's card, but there is no setting for printing within Passbook.
    EDIT: Actually it sends the email as an attachment for a Passbook card file, that cannot be handled by my computer. Hope that answers your question.
    Message was edited by: ChrisJ4203

  • How can i print an Excel file when in the full screen mode (no print options on toolbar or right clk

    using Vista, sometimes after creating and saving an excel file, the document is not visible when the file is reopened.
    selecting full screen mode makes the document visible, but the toolbars disappear and the print option does not show up on a right click.  How can i print the document and see the document in some other mode than full screen?

    In order to print, you can click the CTRL+P keys to launch the print dialog,
    Regarding the missing toolbar, try clicking the ALT key to shouw the software menu, then look around under the view option for any available toolbar settings,
    If you cannot find it, i would recommend you to try the Microsoft support forums, as they have some more knowledge with their software features
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • How can i print proof of a recipents file view

    hi i need to print the history view on a dcoument i sent how can i do that

    Unfortunately, there is no feature that provides this functionality. The only option would be to take a screenshot of the history view and then print that.
    If you find that this is something that would be helpful for your work, please suggest it in the Adobe Send Ideas forum.

  • How can I print in black/white only a document that has colors in the original?

    How can I print in black/white only a document that has colors in its original. I don't need the print out to be in color, and I don't want to waste the color ink.

    It depends on your printer and the application you are using.
    In some applications you can choose color vs. greyscale/black&white when you do File > Print.   PowerPoint is one example of an application that allows this choice.
    Otherwise, you can usually select greyscale at the time you print the document.  Do File > Print. In the resulting dialog box, there should be an item called Copies & Pages (in Word and other applications) or Preview (in Preview).  Click it.  In the resulting list, you should then see an option called Printer Features.  Click it.  Then you should see an option called Printout Mode.  Usually one of the modes is Greyscale or Black & White.  Select it.  Then Print.
    This can also depend on your printer.  Exactly what make/model printer are you using?   And what kind of document are you trying to print (Word, PPT, JPEG, etc)?

  • How can I create Fade-in or Fade-out on Click of Button?

    I'm using Encore DVD 2.0. My DVD starts with a video on a timeline, and then jumps to a main menu with a motion background and music. The main menu links to a couple videos on timelines.
    I'd like to do 2 things:
    1) When the user clicks a button on the main menu to bring them to a video on a timeline, I'd like the main menu itself to fade out before jumping to the timeline. How can I make this happen in Encore? I of course can't create this fade-out in the editing of the video, since the user could possibly click the button at any point throughout the video.
    2) In transitioning from the initial timeline to the main menu, I would like the main menu to fade in. Is this possible, and if so, how can I make this happen in Encore?
    Thank you for your help.

    > I'm trying to understand what you mean. Did you mean that I can make my entire menu part of the background motion video? How would the buttons work? Is there a way to create invisible buttons in Encore?
    Sorry for the confusion - I didn't write that as clearly as I should have done.
    Right now, in Encore, you
    i cannot
    use "Buttons Over Video" as it is not in the feature set. What I was trying to say is that a feature request might get this functionality added in a later build. We can but hope, anyway.
    What I can recommend you try is using After Effects or Premiere Pro to create your Motion Menu, and set things up so that the appearance of the actual buttons is delayed to the point you want them to appear at.
    Another solution - this will give you minimal delays (should be very close to seamless on the final DVD) is this:
    1 - Intro to Main Menu.
    Create your intro to the main menu, and set this not as a timeline, but as a motion menu. Set the End Action of this to go straight to a static/still copy of the final frame from the Motion Intro.
    2 - Main Menu
    This will be a still menu, with or without Audio. If you use Audio it will need to loop though.
    3 - Outro from Main Menu to timeline.
    Fake this as follows.
    Method A.
    Create the outro to the timeline and set this as another motion menu - not a timeline - with it's end action set to automatically play the main film. The outro will presumably fade to black, so any transition will be un-noticeable.
    Method B
    Fake the outro by adding it to the start of the main timeline.
    I think Method A will be your best bet here.

  • How can I print out a complete pdf file of PSE 10 user guide?

    This is worse than trying to deal with the government bureaucrats....I am simply asking how I can print out a complete pdf file of the user guide for PSE 10...I had one for version 9 but cannot get anything for version 10??? The address shown in the getting started manual doe snot go through??? HELP!!!

    Download from here:
    http://help.adobe.com/en_US/elementsorganizer/using/elementsorganizer_10_help.pdf
    for the Organizer
    and this faq:
    http://forums.adobe.com/thread/992825?tstart=0

  • How can i uncheck a checkbox in table component on clicking a button

    In my application I have a table component that display data from the database and a submit button outside the table component, the first column in the table component is a checkbox, How can i uncheck the checkbox in the table component when the submit button is clicked?
    Thanks in advance.

    Something like this ... I THINK it will uncheck all checkboxes in table, but I'm not positive ... you can test!
    if checkbox id is checkbox1...
    <script type="text/javascript"><![CDATA[                                         
    function disableCheckbox()
    document.getElementById('form1:checkbox1').selected = false;
    }]]></script>Put above code inside of head tag in JSP View
    NEXT...
    go to Design View and select your button and go to properties section and select onClick property and insert this javascript in dialog...
    setTimeout('disableCheckbox()', 1)Now run the project when you click the button does the checkbox become unselected?
    Anyway this is where I would start...as far as selecting just the first checkbox if there is more than 1 record...I'm not sure...but I'm curious if this works.
    Jason

  • How can I PRINT folders from FCE project files?

    Over five years of underwater videography I have accumulated several TB of footage, organized into FCE project files by ocean locale and further sorted by subject matter in "clips" folders in the project files.  I use the "log note" field for descriptions, eg scenery, vertebrates, invertebrates, divers. 
    I understand the product incompatibilities that make my FCE project files unreadable by other software, and I am also beginning to doubt that I can keep my late 2007 MBP running indefinitely.  So I want to generate a hard-copy directory to my media drives by printing out the contents of my "clips" folders.  While I still can...
    Thanks for any ideas or suggestions on how to do this. 
    Sharron Sussman 

    Meg, do you happen to know which versions of FCP will import FCE 3.5 projects?  Apparently Adobe Premiere Pro will import FCP projects but not FCE - the format needs to be XML, which FCE does not generate. 
    There's some old FCP software available from 3rd party sellers but I know there are incompatibilities between versions of FCP & FCE of  different ages, and would like to avoid them.
    If I can make my projects accessible to another editing program, even if it's a lot of work, I'd be happy to leave FCE behind at this point...
    sharron s.

Maybe you are looking for

  • How to generate wsdl url in Siebel 8.1

    Dear Gurus, Please help, how to generate wsdl url from inbound web services in Siebel 8.1 Regards, Eldin

  • Problem with Field-symbols when copying code from 4.7 to 4.6C

    Dear SDN I developed the code below for 4.7 system. It works fine on 4.7, but it is failing to compile on 4.6C. field-symbols : <pnnnn> type any. assign ('wa') to <pnnnn>. move-corresponding p0001 to <pnnnn>. " <i>Error <pnnnn> is not an internal tab

  • Crop Area Tool - Illustrator CS3 (javascript)

    Can Javascript use the Crop Area Tool in Illustrator CS3? I am trying to create a crop area around the selected artwork. I can select the artwork (path object). Then I want to use the preset: crop to selected artwork. Then save, and repeat for next f

  • EHP4 on SAP ECC 6.0 SR2

    Hello all, I am planning to install EHP4 on SAP ECC 6.0 SR2. Can you please help me out with the basic steps that need to be done for DOING EHP4 I am going through the guide on Marketplace but just need some help from you all if you can outline the b

  • Weather 2 and 3 times daily in iCal

    I cannot figure this out but I have daily weather forecasts varying between 1, 2 and 3 times on each day (for example, the next 3 days has weather in there 3 times), the rest of the week, it's twice.  What's even more odd is that each of the daily fo