How can I give a name to excel sheet and open another one?

Hello!
I use CSVWriter for writing in excel file.
I have 2 questions:
1.     How can I give a name to a Sheet in excel file?
2.     How can I save the first Sheet and open another one with a different name?
Thanks!

This is the equivalent in Apache POI which may or may not help. I've never used CSVWriter.
HSSFSheet sheet1 = workbook.createSheet("sheet1Name");
HSSFSheet sheet2 = workbook.createSheet("sheet2Name");Then you can use either sheet object to write your contents. Look at the documentation for CSVWriter that pertains to sheets as it should tell you how.

Similar Messages

  • Hi guru's i want to dovelope smart form how can we give form name for sales

    hi guru's i want to dovelope smart form how can we give form name for sales order  plz help me  ...

    Hi,
    If u want to assign the form to Standard sales order, The, this form in the NACE.
    and the, Run from va02/03.
    Reward Points,
    Vamsi.

  • How can we give two name for a single material ??

    Hi friends
    how can we give two name for a single material ??
    e.g.. if single material is sold to different customer by different names
    then how can we do that ??

    Yes
    you can achieve it thro CMIR in T code VD51
    Go to T code VD51 choose that customer and material combination and click on to its details blue lens on application tool bar
    In the screen which is coming ,enter your description in the CUSTOMER DESCRIPTION tab the second one and save
    Now create a sales order and see
    Your requirement will be fulfilled
    If a material is pen description is ball pen in material master and for customer A you have defined it as Pen 1 and description as Super ball pen in VD51
    If a material is pen description is ball pen in material master and for customer B  you have defined it as Pen 1 and description as  VerySuper ball pen in VD51
    Now in sales order the description will appear as Super ball pen for Customer A
    Now in sales order the description will appear as Very Super ball pen for Customer B
    Hence the material pen whose description is ball pen in MMR will appear as super ball pen for customer A and very super ball pen for customer B
    Hope you have checked the field info record in VOV8
    I have tried this tested this and getting it
    Regards
    Raja
    Edited by: ramanathan raja on Dec 8, 2008 5:54 PM

  • How can I define a name in Excel using Powershell?

    I know how to reference existing names using the RANGE function but how can I create a new defined name using Powershell?
    My specific case involves defining a name for a single cell with a workbook scope.  Just as if you were to right-click a cell in Excel and choose Define Name.
    The closest I've gotten is the NAMES object for the workbook but when I "gm" that all I see is a method for delete - nothing for adding.
    $xlsx = "c:\Sample.xlsx"
    $excel = new-object -comobject Excel.Application
    $xlb = $excel.Workbooks.Open($xlsx)
    $xlb.names | gm

    In Excel a Range has a name.  You can create a range and name it.  "Names" is just a list of the names that have been defined.
    So what is it that you are asking?  If your spreadsheet has names this will find them for you.
    Try this:
    $xlb.names|select name
    $r=$xlb.sheets.item(1).UsedRange
    $r.Name='all'
    # now do this again
    $xlb.names|select name
    So now you know everything about "names" or, as us old pros say "named ranges" like in the old  west.
    ¯\_(ツ)_/¯

  • How can I Display my Reports in Excel sheet?

    Hello,
    I have developed my reports using oracle report Developer 6i, I am getting output in PDF and HTML CSS by the the parameter DESTYPT=HTML CSS/PDF through web.
    1.Now I want to show reports in Excel sheet also through web using 9 Internet Development Suit/9IAS .How it can be possible?
    2. Another thing is where should I deploy my all RDF reports in 9IAS?
    3. In 9IAS no Web DB listener is present so how it can be possible to run the reports through web?
    Thanks and Regards,
    Ashwani

    Hi,
    1. To display the output in Excel, refer "Output to Excel with Oracle9i Report"
    at http://otn.oracle.com/products/reports/htdocs/getstart/demonstrations/index.html
    2. The Reports RDF files will be deployed in Report server tier, i.e the place you
    have installed your Business Inteligence componentes of 9iAS.
    3. In 9 iAS, Report servlet/JSP can be run inside oc4j container. Report cgi can be
    run the default http server present in 9iAS. Refer the 9iAS rel-2 manulas for more information
    Thanks,
    Rohit

  • How can I export the tickets into excel sheet?

    You can edit the report to display the specific information you need.  After choosing "Edit" for the report, you'll find a section at the bottom called "Columns to Display".  Pick and choose exactly what you want, and then click the button for "Save and Run".

    How can I export the tickets in to excel sheet? or get a report
    This topic first appeared in the Spiceworks Community

  • How can I change the name of the HD and Home Folder?

    Recently, I had a problem with my computer in which a prohibition sign came up instead of apple logo at start up. I took it to an Apple Store, and they told me that the mistake was in the HD, that they needed to restart the system, so I told them OK, but then it turned out that it wasn't that, it was the cable which connected the HD to the motherboard which was damaged.
    They obviously put the name of the HD to another one, and the home folder as well.
    So my HD name is "Apple HD" and I want to change it to "Macintosh HD".
    My home folder is named "eduardo" and I want to change it to "Eduardo".
    I am currently running on OSX 10.9 (Mavericks)
    My MBP is a mid 2012, model 9,2.
    Thanks! Hope u can help me!

    Open the Terminal in the Utilities folder and paste the following at the prompt:
    sudo diskutil rename / "Macintosh HD"
    Press RETURN. Enter your admin password as prompted. It will not echo to the screen. Press RETURN again.
    Diskutil is a disk utility.
    Rename is a command.
    / is your main drive.
    Note that there is a space before the slash mark and after it.

  • HOW CAN I GET THE TIME IN EXCEL SHEET USING WRITE TO MEASUREMENT INSTRUCTION

    HI, I am using GET TIME IN SECONDS ,and after that i placed SECONDS TO DATE /TIME instruction ,and i had taken a write to measurement file instruction
    to get the time in excel sheet. Now i am not able to connect write to measurement source to seconds to date and time output . Is there any solution.
    I am attaching my VI file also.
    Attachments:
    TEST.vi ‏43 KB

    Hi
    Im using Labview 8.2. Currently it just shows the data without the time. Im not sure what to do. It works perfectly though. I just want the time to appear on my notepad along with my data
    holla
    Attachments:
    Testing1.txt ‏1 KB
    Untitled 231_LV80.vi ‏23 KB

  • How can i get the name of a symbol and pass to a variable?

    Hello! Is posible to get the name of a symbol and pass to a variable??
    Thanks
    Sonia

    Ok. Bravo
    Please mark this as 'Answered' - it will help others on the forum -

  • How to maintain the same layout in excell sheet and in the mailed version

    i have a report which gives the related sap o/p , when we chose a certain layout and trasfer the o/p to excell sheet it maintains the layout but when it comes to the emailed version (i.e., when it is emailed ) , the attachment , it is not maintaining the layout which i have chosen, can u suggest me what i need to do?

    Hello,
    it si not crear where you change the cost of the item to 90 USD?
    If you have a price of 100USD in the sales order then you should have a look in the copy control. Which pricing type is maintained here.
    If you want to take over the price from the sales order to the return order then you should maintain a pricing type which not new determine the VPRS. Then the VPRS should copied from the sales order.
    Please have a look 24832. Here is describe which pricing type is relevant to determine a new condtion.
    I hope that the information are helpful.
    Regards and have a nice day.
    Claudia

  • How can I include different DAQ cards (for notebook and PC) in one applicatio​n?

    I want to build one application, which runs on different computers. On PC a DAQ board PCI-6052E and LabVIEW including application builder are installed and work. My program runs.
    Now I want to build an application, which runs on the notebook without LabVIEW but with the similar DQACard-AI-16XE-50, too.
    How I have to install the DAQCard on the notebook and how can I include the driver?

    Sylke,
    Check the following link which guides you step by step to install the driver and configure the daq board:
    http://www.ni.com/support/install/
    Hope this information is helpful.
    L Aguila
    Applications Engineer
    National Instruments

  • How can I move a Pages file from a folder to another one?

    I Have done the upgrade to mac os Yosemite but now i'm Not able to move a file from a folder to another one Inside iCloud
    now it's impossible to organize MY archive

    Thankyou Winston, you guess right. What i don't understand is why with the older version of mac os (10.9) i can organize my document into icloud folders using the Pages app window. But now with the new version i'm no longer able to do that. Using ipad in the same window there is no problem, but in mac os it doesn't work. 

  • HT6030 how can i send word/pdf/ppt/excel sheets as attachments to my emails via gmail using ipad

    i have been trying to save word pdf excel and ppts on my ipad and also send these files as attachements using gmail App but I am unable. please advise.

    Open the file you want to attack in an iPad program that will open it (Docs 2 Go for example). The program should have a share icon somewhere. Click on that and then select email. Without a little trickery I don't know how to attach more than one item per email.

  • How can a email I just saw disapear after I opened another app?

    This happened two times today. One of them vanished in the trash, where I later found it ... by chance. I had opened them in the iPhone mail-App, not in the providers app ...

    If you're a former Windows user, there many resources on Apple's web site to get yourself familiar with how Macs and OS X work.
    Here ard a few areas to spend time with
    http://www.apple.com/support/macbasics/
    http://www.apple.com/support/imac/intel/
    http://support.apple.com/videos/
    http://www.apple.com/support/osx/
    For the video tutorials, in the video search box, just type in OS X. You'll get a list of OS X video tutorials to watch  as you learn to use your iMac.
    Start with the Anatomy of a Mac video first, Then the Finder Basics video second. After you have watched and put to use these two videos, you can watch any other OS X video you want in any order.

  • HT1349 how can i delete an apple id for itunes and install another

    Hello, My daughter has an apple id password on my ipad 2 and i wan to delete her account off my ipod 2

    I have seen folks report that they have changed the Apple ID in Settings, but when they want to buy something another ID or their old ID appears, so I have always told folks to change the ID in both places, with the proviso that if they see the wrong account to sign out.
    I cannot test it here because my two Apple IDs used in the store apps are for two different countries. So when I change the Apple ID in Settings, up pops an alert that the ID that I just entered is only good in a particular country's store and then both the iTunes Store and the App Store apps pop open and make the change. I cannot test what might occur with two IDs from the same country.

Maybe you are looking for

  • How do I change the e-mail address associated with Facetime on my iPhone?

    On my iPhone, under Settings -> Facetime, if I switch this to "on", I am immediately prompted to provide a password assocaited to an old e-mail address. How do I change this e-mail address? My app store account is correct, and I don't think this old

  • Arithmatic Operations

    1) Can we declare the variables in the script ? 2)I have two variables in the driver program. Depending on the conditions, i want to perform some arithmatic operations like Addition or subtraction in the script. How to do that ?

  • Guest Vlan on umnaged network

    I've bought some unifi wifi access points which I want to add to our network. We use a mix of cisco and netgear switches (I'll be phasing out the netgears over time). I'd like to make a guest vlan for the wifi, I'm just not sure how is best to do it,

  • Some photos (iPhoto '08 will not import to iMovie '08

    I am creating a photo slideshow in iMovie '08 using my photos (iPhoto '08). Occasionally a photo refuses to be imported (drag and drop) no matter how I crop or edit it. Nor will they go into an album. I don't encounter this problem with hundreds of o

  • Hardshell Case for Macbook Pro

    Does anybody use hardshell cases such as Techshell or Speck with any keyboard covers? Are there any heat build-up issues? I heard that Macbook Pro vents hot air from keyboard area upward. Are there any problems covering keyboards with protective cove