Welcome To Snipplr
Everyone's Recent Snippets Tagged excel
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
How to Export Data From SQL Server to Microsoft Excel Datasheet
        
        
        
            0 
        
        
            2491 
        
                    posted 14 years ago by derebus
            Es muss eine Formatierung gespeichert werden (Format :: Formatvorlagen)
Einzutragen in: Format :: Bedingte Formatierung
        
        
        
            0 
        
        
            1010 
        
                    posted 15 years ago by tscheckenbach
            modified from branflake2267's post at oooforum.org:
http://www.oooforum.org/forum/viewtopic.phtml?t=52942
usage:
Paste into the Standard.Module1 macro file.  Then, create xls2csv bash script containing:
    #!/bin/bash
    file="$(readlink -...
        
        
        
            0 
        
        
            3052 
        
                    posted 15 years ago by softmechanics
            The easy way to set this up is to go to the macro window by pressing alt+F11.
Select the sheet from left panel. there will be two drop down. from the left drop down select worksheet and from right drop down list select the event 'change'.
        
        
        
            0 
        
        
            1345 
        
                    posted 15 years ago by derekholmes
            Face it!
Whenever you make a website/app you always need to make XLS export for the simple people. I mean heaven to betsy if they have to take a csv file, or use phpMyAdmin.
So
Here are 3 little functions and a sample skeleton that I use fro...
        
        
        
            6 
        
        
            1963 
        
                    posted 16 years ago by brownrl
            This script will also work on any spreadsheet program like Google Docs.
        
        
        
            0 
        
        
            1248 
        
                    posted 16 years ago by pollusb
            This example demonstrates interpolation using Excel's =TREND function by converting 70 degrees F to 21 Celcius.
=TREND({0,100},{32,212},70)
The {..} arrays can of course be replaced with a cell range specifier.
        
        
        
            0 
        
        
            1395 
        
                    posted 16 years ago by jimfred
            Say you've got data combined in such a way that there is a repeated row header, but all the data is in different rows. If you were to consolidate all the rows down to one, only taking valid values (discarding blanks), you'd have one header row with a...
        
        
        
            0 
        
        
            1104 
        
                    posted 16 years ago by pckujawa
            This is modified from code found here: http://www.meadinkent.co.uk/XLexport-text1.htm and here: http://www.meadinkent.co.uk/XLexport-text2.htm
        
        
        
            0 
        
        
            1226 
        
                    posted 16 years ago by BlueCockatoo
            # Export MySQL Data as CSV
This code takes a `mysql_query()` resource and outputs its rows into CSV spreadsheet format. Edit the `header('Content-Disposition...` declaration to tell the user's browser to either display the data as plain text or do...
        
        
        
            6 
        
        
            1819 
        
                    posted 16 years ago by mikegreen
            This is saved from Gerhard Slettens weblog www.gersh.no. I just want yo keep it on snipplr so it easily can be fetched through textmate.
        
        
        
            15 
        
        
            7462 
        
                    posted 17 years ago by stavelin
            Imports data from CSV (excel-compatible format) into MySQL. Also check the mysqlimport utility and the complementary SELECT ... INTO OUTFILE.
        
        
        
            4 
        
        
            1852 
        
                    posted 17 years ago by jarnaldich
            
