Add column comments from excel spreadsheet

Is there a way to add descriptions that are captured in excel spreadsheets into a relational model's tables and columns? Would it need to be a transformation script or is there another way? Does anyone have a sample of how to do this?

I use excel all the time to do this since it's easy for me. basically what I do is get everything I need down. Then I use excel to build the sql. I'll add a column with comment on column and other column with the table name with a period. I assume I've got the column name in one excel column and the comment in another. So I'll put a column between the column name and the comment and put in is'. Then after the comment I'll put in ';. Once that's done I load it into a text editor drop all the unnecessary spaces save it and run it.
Do this with a lot of things. Dump the stuff I need out of the data dictionary or where ever. save it in excel and then do the same trick

Similar Messages

  • Is it possible to show the comments from Excel spreedsheets in Numbers?

    Is it possible to show the comments from Excel spreedsheets in Numbers? And can I create comments in new Numbers spreedsheets like Excel?

    Yes.  You can open excel files with comments and add comments using the menu item "Insert > Comment":
    Numbers will export a file as excel using the menu item "File > Export > Excel...":
    But will not natively save excel files.  So if you will be regularly working with a file in both Numbers and Excel you should consider using only one of the programs as the only way to save a document in Numbers is as a Numbers document.  Said another way Number can only import and export Excel.

  • Using PowerShell to add VBA to an Excel spreadsheet

    I have a PowerShell script that creates an Excel spreadsheet and is able to save it.  I also have VBA code that I would like to put into that newly created spreadsheet.
    Is there a way of adding the VBA code into my newly created spreadsheet using PowerShell? 
    Thanks,

    Thanks for the response Alex,
    Where I use to work, we would commonly do this with VBScript and Excel 2003.   Below is an example from the Scripting Repository using VBScript (Add a Macro
    to an Excel Spreadsheet)
    Set objExcel = CreateObject("Excel.Application")
    objExcel.Visible = True
    objExcel.DisplayAlerts = False
    Set objWorkbook = objExcel.Workbooks.Open("C:\scripts\test.xls")
    Set xlmodule = objworkbook.VBProject.VBComponents.Add(1)
    strCode = _
    "sub test()" & vbCr & _
    " msgbox ""Inside the macro"" " & vbCr & _
    "end sub"
    xlmodule.CodeModule.AddFromString strCode
    objWorkbook.SaveAs "c:\scripts\test.xls"
    objExcel.Quit
    We would use a variant of this method to generate static Excel reports from spreadsheets that were linked to external data sources.
    Now...  it's time for me to upgrade my code and get on the PowerShell boat :)  So I have been working on a script that does a similar thing, but there does not appear to be a method of adding a macro to an Excel spreadsheet using PowerShell.  There
    appears to be no way of calling VBProject.VBComponents.Add from within PowerShell.
    I have tried manipulating the data that resides within Excel by directly accessing it from PowerShell, but this has proven to be painfully slow.  What a macro can do in 3 seconds, takes PowerShell 8 hours to do :(
    If it can't be done... then I'll have to revert back to my old ways.  But if it can be done, great!!!  PowerShell has alot more to offer me than VBScript did.

  • How can I generate a data merge that includes a barcode from excel spreadsheet to InDesign?

    Can you please advise if the following process is possible within InDesign CS 5.5? (Mac OS 10.8.2).
    We need to create a data merge that includes a barcode. The data merge is for several thousand records.
    We have a customer-supplied Excel spreadsheet that contains seven fields, one of which is a number that ultimately needs to print as a barcode when we make the data merge in InDesign.
    As you would expect, the conventional six fields data merge perfectly - but we can't find a way to make the barcode print correctly within the data merge.
    We have investigated several possible solutions without success.
    Some solutions suggest a plug-in for Excel to convert the number into a barcode whilst still in the spreadsheet - but this doesn't come across correctly when we import the CSV file into the InDesign data merge.
    We have investigated certain third party software applications but none provide the full solution we require. Some, for example, appear to create the barcode within the Excel spreadsheet but don't produce the barcode correctly when we data merge in InDesign; and some will allow us to create a one-off barcode within InDesign but have no automated way of retrieving the thousands of Excel numbers and turning them into barcodes.
    We have also come across possible 'font' solutions but have had no success with these either.
    For a previous job we needed to produce we outsourced to a specialist mailing company, who assured us they produced the whole job (very quickly) within InDesign. They, understandably, won't tell us how they did it. But, given the speed with which they produced the job for us, we imagine - with the correct software - the whole process is easy to do.
    Can you please advise?

    See second posting atHow do I generate a data merge in InDesign from an excel spreadsheet which includes a barcode

  • Can  I create a data set from Excel spreadsheet?

    I have been looking for help with Spry data sets. I want to know if I can create a data set directly from an spreadsheet or do I have to save it to a CSV  file first. I will be upgrading to DW CS4 shortly & trying to do my homework now.
    Can someone point me to an article or video explaining how to do this? I have gone through various helps with HTML tables as data sets.
    Thanks.

    Yes, mostly.
    We have a CSV data set, which is a comma-separated value file, which can easily be exported from Excel.
    http://labs.adobe.com/technologies/spry/samples/data_region/CSV_sample.html
    Hope this helps.
    Don

  • Importing data from Excel Spreadsheet into SOP

    Hi,
    Can anyone please tell me where I can find instructions on how to import data into SOP form an Excel spreadsheet. I know there is a used exit MCP20001 EXIT_SAPMMCP6_001 but I don't see a transaction to execute this import exit from. Please help/clarify.
    Thank you
    I will award points to all who respond with useful information on importing info into SOP

    Dear,
    Please note the info structure os not different for different versions. ALl inactive versions are also storead in the same info struture.
    The info structure will be different only of the planning type is different. For standard SOP the info stucture is S076.
    You could also create your own info structures for the planning types you have created using flexible planning.
    For copying within the same info structures use transaction MC78. Here select the inactive version in the source and select the active version in the target. The copy with the button given for this.
    Within the MC87 copying is only possible between different info structures.
    Hope this helps your understanding.
    Regards,
    R.Brahmankar

  • How to add column comments to table

    at the time of creating the table, how to add the comments t columns.

    Hi,
    I do not see any way in which you can add comment on column while issuing create table command. You can add comment on the column only after the table is created.
    Regards
    Anurag Tibrewal.

  • Insert into remote Oracle DB from Excel spreadsheet

    We currently have a Full Oracle database ( PROD ) which I can remotely link to with a version of Oracle Express on my desktop. Also, I can successfully link to an Excel spreadsheet. I am able to insert into a table on the Oracle Express database from the Excel link, and I can also insert to the PROD database from the Oracle Express database.
    However, when I try to insert rows into the remote PROD database from Excel, I get the following error.
    "Problem ORA-02019 connection discription for remote database not found ORA-02063; preceding line from XE ORA-02063 preceding 2 lines from PROD"
    The syntax that I am trying to use is:
    "Insert into temp@prod
    select * from Sheet1$@excel"
    The above syntax works very well to insert rows on the Oracle Express database from Excel, but is creating the error when trying to insert to a remote Oracle database.
    Is this solvable? Any advice is appreciated.
    Thanks.

    Hey
    Check this link:
    http://www.dba-oracle.com/t_ora_02019_connection_description_remote_database.htm
    Regards

  • Add Spotlight Comment from file?

    As I understand the way the *Add Spotlight Comments* works, the input is the file (or set of files) to be modified, and the added comments can either come statically from the workflow, or as user input if the workflow permits *Show Action When Run*.
    I have a moderately ugly shell script that downloads and examines a succession of files and builds a description (just a few dozen words) that I want to add automatically to those comments. At the end of my script, I've downloaded the file, and stored the comments I want in a separate temp file.
    As far as I can see, Automator can't do this: I can't specify a file as the incoming source of those new Spotlight Comments, can I?
    Assuming the answer is negative, two quick non-Automator followups:
    1) Is there any shell-script level Unix command that can manipulate the comments (without trying to hack into the .DS_Store files, that is).
    2) Can Applescript do this? And, crucially, where's the best current help for Applescript for someone that hasn't touched it in many years?

    Automator can do it, although some of the actions may not be obvious. Text (for example, the results of your ugly shell script) can be placed into a variable for later use, but you can also get it from a file. If your description/comment is in a plain text file, you can use the Combine Text Files action to get the text, then place it in a variable that can be used with the Set Spotlight Comments for Finder Items action.
    Example:
    1) Get Specified Finder Items (add your description file) (ignore input)
    2) Combine Text Files
    3) Set Value of Variable {Variable: whatever}
    4) Get Specified Finder Items (add the file you want to comment) (ignore input)
    5) Set Spotlight Comments for Finder Items {drag variable whatever to the text field, Append to existing comments}

  • Synchronizing Column Comments from Relational Model to Data Dictionary?

    I've changed/added column comments to a table in my Relational Model. When I try to sync the changes to the Data Dictionary of the Database the new/changed column comments are never included. I can actually see that the values in the Field "Comment in RDBMS" are different in the Compare Models Preview Window but the line is not highlighted in red as I expect, in fact it is even grayed out. I also can't check the corresponding checkbox "selected".
    Is there a way to get the comments to synchronize? Do I miss any option I have to set first? Ist this a bug or expected behaviour?
    I'm using version 4.0.3 x64 of Data Modeler.
    Any help would be much appreciated,
    Charlie

    Hi Charlie,
    The greying out of the "Comment in RDBMS" property would suggest that you have filtered out this property for Column objects in a previous Compare.
    To unset the filtering, repeat the sync, and when it displays the Compare Models dialog, select the Options tab and then the Properties Filter tab below it.
    Select "Columns" in the left pane, and then find the entry for the "Comment in RDBMS" property in the right pane.  The "Included" check box should be set.
    You can then select the Refresh Trees button below these two panes.
    If you then go back to the Details tab, any differences in the "Comment in RDBMS" property for Columns should now be highlighted in red.
    David

  • OracleBI Spreadsheet Add-in disappears from Excel?

    I left to work on something else (Word, web browsing, emailing), for 30mins or so, when I returned to my Excel the add-in disappeared. Right-clicking on any cell didn't give me the add-in either.
    This has happened to me a few times.
    Has anyone got this experience?
    djoni

    Hi Djoni
    Does Oracle people monitor this forum?
    Hmmm, do you really want Oracle answering questions in here? The last time anyone from Oracle really made any significant contributions was quite some time ago. Then the most typical reply would be to point you to a section in one of their on-line manuals.
    Actually, Oracle do monitor these forums. However, because of the experience that people such as Rod, Russ and myself have, Oracle is more than happy for us to field the answers. We all have real-world experience of using the tool you see.
    Best wishes
    Michael

  • PDF form from Excel spreadsheet/table

    I am developing a process where folks enter data (all text) to a central spreadsheet, and someone uses Acrobat X to generate a form. The form needs checkboxes (one per table row), and a digital signature above the table. I'm running into a couple of issues:
    1) I am trying to automate the creation of checkboxes, so that whoever is generating the final PDF form does not need to add a checkbox for each row. I noticed that in Excel, in Develop mode, one can add checkboxes, and on my first try, the PDF form creator seemed to translate those automatically into PDF form checkboxes so that no extra manual step was needed. In my last few tries, the conversion no longer auto-converts checkboxes. Any tips on this?
    2) I also noticed that whereever there is blank space, the form creator inserts a text field. Even for table cells that have text in them, if there's any white space, presto, here comes a text field inserted into that very cell, usually named after the text already in the cell. Is there any way to avoid this?

    Which version of Acrobat do you have? If X, then there should be an option
    in your Excel to Mail Merge the spreadsheet, which is basically what you
    describe. However, I'm not sure if it can also automatically email the
    files to the recipients.
    I have developed a script that can do the merge, *and *automatically email
    the file to each person. Have a look here for more info:
    http://try67.blogspot.com/2011/09/acrobat-mail-merge-and-email.html

  • Updating data in Xcelsius 2008 Export from Excel Spreadsheet

    Xcelsius 2008 newbie question....
    I have created a Xcelsius export (.swf) that display my data. However it appears the data is static after exporting.
    I am at a loss as to how you force it to update/refresh using the connections used in the excel.
    Am I missing something? I cannot find a straight answer, do need LiveOffice?
    How do I have an (.swf) export file that refreshes data itself????

    The easiest way to get data to update in your swf is to create a connection in the Data Manager.  After the connection is setup you can add a connection refresh button to allow the swf viewer to trigger that connection.
    To get data to refresh automatically, you can setup the connection to trigger or update on interval.
    For more information you can check out the learning center:
    http://resources.businessobjects.com/support/cx/samples/learning/ondemand.asp

  • How to retrieve column name from Excel using POI HSSF eventusermodel?

    Hi ,
    I am simply reading the excel sheet and writing in a txt file. I have done the following in the switch construct. It works fine but I want to retrieve only the column header. But this code gives me all available strings in the excel sheet. Any pointer would be greatly appreciated.
    case SSTRecord sid : 
             SSTRecord sstrecord = (SSTRecord) record;
             for (int i=0; i<sstrecord.getNumUniqueStrings(); i++){      
                  System.out.println(" Column name" +  sstrecord.getString(i));
    break;bye for now
    Sat

    try labels:
            case LabelSSTRecord.sid:
                LabelSSTRecord lrec = (LabelSSTRecord) record;
                if (lrec.getRow() == 0) {
                    System.out.println(" Column name "
                            + sstrec.getString(lrec.getSSTIndex()));
                break;

  • How can I create a PDF with embedded fonts (not a subset of the font) from Excel?

    I need to create PDF's from Excel spreadsheets. The PDF needs to have embedded fonts but every time I create one it only has a subset of the embedded font.  I have tried setting preferences in the Acrobat add in (unchecked the "Subset Embedded Fonts" option and also tried with the Subset Embedded Fonts checked but the percentage set to only 1% in an attempt to force full font to be embedded.)
    I also tried opening the resulting PDF with Acrobat Pro XI but could not figure out how to add the font in.
    A method to accomplish the results from either tool would be great.

    Anna;
    Unless you can add those fonts to your system via the Font book and then substitute them in iPhoto, you'll have to either user the available fonts or create your own pages, 8.5 x 11, in an image editor like Photoshop Elements and use them on pages that are one photo per page. Other's have done that with some success.
    If you has PS or PSE create an 8.5 x 11" canvas at 300 dpi. Then you can add your photos, add text (if PS can use the text), and create your own layout.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

Maybe you are looking for