How to write superscripted date in word document programatically

i have tages in word document and i am replacing that tag with my textbox values.I have date tag also in word document currently i am getting date in format like 11th February 2015, but i want
'th' on head of '11'. for this i am using below code
string date1 =string.Format(datetime.ToString("dd{0} - MMMM, yyyy"), sup + GetSuffix(datetime.Day.ToString()) + /sup);
result i am getting is 11th February 2015. 
Please Help.

Hi,
Could you please provide your development scenario and detailed message such as screen capture ?
Thanks
Best Regards
Jerry Guo
TechNet Community Support

Similar Messages

  • How can I display the date a word document was last modified on my web page?

    I have lists of links to word documents on my web pages. I
    want to be able to show the date the word document was last
    modified next to each link. My pages are straight html.
    Thanks.

    >but I would have to go to each individual file (I have
    hundreds) and put this code on each link.
    No, you can use the FileSystemObject to get a list of the
    files in the directory. See if you can adapt this for your site:
    <link href="/CSS/dirlist.css" rel="stylesheet"
    type="text/css">
    <%
    Function FormatSize(SizeInBytes)
    if SizeInBytes > 1024^2 then
    FormatSize = formatnumber(SizeInBytes / 1024^2,2) & "
    MB"
    elseif SizeInBytes > 1024 then
    FormatSize = formatnumber(SizeInBytes / 1024,2) & " KB"
    else
    FormatSize = SizeInBytes & " Bytes"
    end if
    end function
    %>
    <%
    dim parts
    dim part
    dim BrowseLine
    dim RelLink
    dim i
    url = Request.ServerVariables("URL")
    Parts = split(URL,"/")
    for part = 1 to ubound(Parts)-1
    ' calc link
    RelLink = ""
    for i = 1 to ubound(Parts) - part - 1
    RelLink = RelLink & "..\"
    next
    If trim(BrowseLine) <> "" then
    BrowseLine = BrowseLine & "/"
    end if
    BrowseLine = BrowseLine & "<A href=" & RelLink
    & ">" & parts(part) & "</A>"
    next
    ' add "back" link
    BrowseLine = Browseline & "  " &
    "<A href='javascript:history.back();'><img
    src='/images/return.gif' border=0></A>"
    Response.Write "<P class = 'NavTop'>" & BrowseLine
    & "</P>"
    Dim fso
    set fso = server.CreateObject("Scripting.fileSystemObject")
    dim fldr
    dim fle
    %>
    <a href="../index.asp"><img
    src="../images/leftbanner.jpg" width="343" height="70"
    border="0"></a>
    <link href="/CSS/dirlist.css" rel="stylesheet"
    type="text/css">
    </p>
    <p></p>
    <table width="85%" border="0" cellspacing="0"
    cellpadding="0">
    <tr>
    <th width="63%"><div
    align="left">   Document
    Name</div></th>
    <th width="14%">Size</th>
    <th width="23%"><div
    align="left">  Date</div></th>
    </tr>
    <%
    ' display folders
    for each fldr in
    fso.GetFolder(server.MapPath(".")).SubFolders
    %>
    <tr>
    <td class="FileName"> <a href='<%=
    fldr.Name %>'><img src="/images/folder.gif" border=0>
    <%= fldr.Name %></a></td>
    <td class="FileSize">  <%=
    FormatSize(fldr.Size) %></td>
    <td class="FileDate"><div
    align="left">  <%=
    FormatDateTime(fldr.DateLastModified,2)
    %></div></td>
    </tr>
    <%
    next
    %>
    <%
    ' display files
    for each fle in fso.GetFolder(server.MapPath(".")).Files
    dim ext
    ext = fso.GetExtensionName(fle.path)
    if (ext <> "asp") and (ext <> "scc") then
    %>
    <tr>
    <td class="FileName"> <a href='<%=
    escape(fle.Name) %>'><img src="/images/file.gif"
    width="14" height="16" border=0>
    <%= fle.Name %></a></td>
    <td class="FileSize">  <%=
    FormatSize(fle.Size) %></td>
    <td class="FileDate"><div
    align="left">  <%=
    FormatDateTime(fle.DateLastModified,2) %></div></td>
    </tr>
    <%
    end if
    next
    Set fso = Nothing
    Set fle = Nothing
    Set fldr = Nothing
    %>
    </table>
    <p><a href="/index.asp">Return to Home
    Page</a></p>

  • How to download graph output into word document?

    Hello experts!
    I have plotted graphs using some data.
    The graph is actually output of a function module into a container.
    Can anybody tell me , how can i download this graphs into a word document?
    I am able to download text data into word documents, but not graphs.
    Regards,
    Rahul

    Steelers, unfortunately your reply didn't get through. Perhaps you tried to send an attachment or screen shot by email? Please try again (but not sending attachments or screen shots by email).

  • How to copy NCLOB value(Contains Word Document) into file system

    How to copy NCLOB value(Contains Word Document) into file system or display in sqlplus

    The UTL_FILE package will write it only to text file not(NCLOB Value[containts images as well as text])

  • How can I change a Microsoft Word document file into a picture file?

    How can I change a Microsoft Word document file into a picture or jpeg file? I am wanting to make the image I created my background on my macbook pro.

    After I had the document image the way I wanted it, I saved it as a web page and went from there. Below are the steps starting after I did the "save as" option in Word:
    1) Select "Save As Web Page". I changed the location from documents to pictures when the window came up to save it as a web page.
    2) Go to "Finder" on you main screen, or if it's on your main toolbar at the bottom.
    3) Click on the "Pictures" tab and find the file you just re-saved as a web page. (I included "web page" or something similar in the new title so I could easily find the correct file I was looking for)
    4) Open the correct file and then "right click" on the actual image. (Use 2 fingers to do so on a Mac)
    5) Select 'Use Image As Desktop Picture", and voilà! The personally created image, or whatever it is that you wanted, is now your background.
    **One problem I encountered while doing this is that the image would show up like it was right-aligned in relation to the whole screen. The only way I could figure how to fix this was to go back to the very original document in Word, (the one before it was saved as a web page), and move everything over to the left.
    I hope this helps someone else who was as frustrated as I was with something that I thought would have been very simple to do! If you have any tips or suggestions of your own, please feel free to share. : )

  • How to restrict Firefox to open word document in browser window with href

    How to restrict firefox to open word document from a website link to open in the browser window, instead it should open in native program.
    1.I have tried other website, and have clicked on similar links they are opening word document correctly in native program
    2. MS word document from one specific site is opening in browser causing junk character in place of word document.
    Could you please help on this.

    Thanks for your response...
    But As i said, I have tried with other website on the same browser, there it is opening word document in native program. Also the above mentioned options have been tried earlier.
    I have some questions related to this?
    How is this href link is behaving differently opening in browser for mozilla only. Technically, Can we make it open it native program only? If so, then how?

  • How do I transfer data files (word, Quickbooks, pdf, etc.) to the ipad?

    How do I transfer data files (word, Quickbooks, pdf, etc.) to the ipad for safe store and possible reading and manipulation of some key files (word and Pdf)?

    You first need an app, or apps, that are capable of reading/storing, and possibly editting them - without the app(s) there is nowhere to copy them to. As to how you then get the files onto the iPad depends upon the app(s) that you are using : iBooks (free app which can store/read PDFs) is via iTunes and the Books section of your computer's iTunes library. Other apps can use the file sharing section at the bottom of the device's apps tab on your computer's iTunes, some apps have wifi capability so that you can copy to/from them via your wifi network, and you may also be able to transfer email attachments into the app.

  • How do I transfer powerpoint and word documents to my ipad with the new itunes?

    how do I transfer powerpoint and word documents to my ipad with the new itunes?

    Have a look at the following:
    http://itunes.apple.com/sg/app/quickoffice-pro-hd-edit-office/id376212724?mt=8&l s=1
    http://itunes.apple.com/sg/app/office2-hd/id364361728?mt=8&ls=1
    http://itunes.apple.com/sg/app/documents-to-go-premium-office/id317107309?mt=8&l s=1
    http://itunes.apple.com/sg/app/polaris-office/id513188658?mt=8&ls=1

  • How to write the data into EEPROM using Labview?

    How to write the data into EEPROM using Labview?

    You would need some sort of EEPROM programmer. Typically might
    communicate with it via serial. I don't know how you would do this in
    LV. You would need to have the command protocol for the programming
    device to start with.
    Doug De Clue
    gpibssx wrote in message news:<[email protected]>...
    > How to write the data into EEPROM using Labview?

  • How can i open microsoft office word documents on my ipad 4 and edit it.

    How can i open microsoft office word documents on my ipad 4 and edit it. How to transfer my scaned documents on it

    There are a number of apps that are compatible with Office documents. Apple makes iOS versions of their own iWork apps (Pages, Keynote, Numbers) that are available free if you purchase a new iOS device and that can be purchased separately for older devices. There are also 3rd party combined suites that cost less than the separate Apple apps. Ones often recommended include Documents 2 Go,  Quickoffice and Office2 HD.
    If you can accept needing a network connection whenever you want to use the apps and have an Office 365 subscription, Microsoft has just released their Office Mobile app, though it has significant limitations. Or a server-based solution such as CloudOn might be an option for you.
    Regards.

  • How can i view a downloaded word document in pages?

    how can i view a downloaded word document in pages?   i tried to download a file, which worked, but i can't view it since i don't have word office

    Not sure what you are saying but Pages just opens Word documents, drag the Word document onto Pages' icon.
    Or open the Word document from the Open dialog.
    If you are talking about testing a Word document after you have exported it from Pages then you will need of course to have Word to open it but there are free clones of Word as well such as LibreOffice, Openoffice and Neoffice that will do that as well.
    Peter

  • How to read data from word document in to richtext?

    it can read from txt but couldnt read from a word document:s  how can i do this?

    TLF doesn't have a generic HTML importer. There is one that works with the html used by TextField. To use it, try something like this:
    var htmlString:String =  '<p>Paragraph here</p>';
    var textFlow:TextFlow = TextConverter.importToFlow(htmlString, TextConverter.TEXT_FIELD_HTML_FORMAT);
    - robin

  • How do you hook a MS Word document to a page in my Site?

    Hello there,
    I have several documents in MS Word that I would like visitors to be able to read them.
    How to link the documents, do they have to be in a certain place (ie data base) to be referenced?
    Thank you very much in advance.

    You can embed the Word document (also text, PDF and HTML documents) into an iWeb page with an iFrame code and an HTML snippet like in this demo page: Scrolling Text Box. The Word document is at the bottom.
    OT

  • How to save Charts to a word document using LabVIEW Report Genereration toolkit?

    I just started using the LabVIEW Report Genereration toolkit, but I can't figure out how to save Waveform Charts (one dimensional data versus time, instead of Graphs) to a Word document. Can somebody give a suggestion? Thanks!

    Nina,
    In MS Word, you have 2 options when you select Insert Object:
    Microsoft Excel Chart
    Microsoft Graph 2000 Graph
    If you select Insert Picture, you can choose Chart. This is the same chart as when you select Microsoft Excel Chart.
    To insert this chart, you will use Word Insert Graph.vi. This VI calls Word_Insert_Chart.vi, that uses ADO object Graph.Chart and its properties and methods.
    From the Microsoft Help:
    Create a chart by using Microsoft Graph
    When you create a chart by using Microsoft Graph, a chart and its associated data are displayed in a table called a "datasheet."
    Zvezdana S.
    National Instruments

  • How to add infopath data to word doc

    hi
     I create a form in infopath. I want to combine the information in this form, in strategic places in a Word document. My intention is similar to a mail merge but from infopath software. In Mail Merge I create a lot of files at once. Here I want the
    end user fills out the form and receive a letter. All details already filled in the right places.
    In software info path field can be set to be equal to other fields, but there is no option like in Word design. And that makes it as a link and not as part of the text.
    Would appreciate help
    Thanks in advance
    David

    Hi,
    Please check if this thread helps:
    https://social.msdn.microsoft.com/Forums/en-US/9e2ab81d-dd9e-454c-8347-62484eaa7546/can-i-insert-an-infopath-form-into-a-ms-word-document?forum=sharepointcustomizationlegacy
    1. Use a Document Information Panel (DIP). With this you can use field controls in Word and bind them to fields in the DIP (InfoPath form). See
    http://blogs.msdn.com/infopath/archive/2006/11/06/data-binding-between-document-information-panel-and-word-document.aspx for an example on how this is done.
    2. Use VSTO to host an InfoPath form control (see
    http://msdn2.microsoft.com/en-us/library/microsoft.office.infopath.formcontrol(vs.80).aspx) in a task pane in your Word document.
    For InfoPath related issue, you can also post in the following forum to get more assistance:
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/home?forum=sharepointcustomizationprevious
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

Maybe you are looking for

  • How to put a collection into a Ref Cursor?

    Hi, I am trying to create a procedure (inside a package) which fills a collection and I need to fill a ref cursor (out parameter) with this collection. I can fill the collection but I how can I fill the ref cursor? I am receiving the message "PL/SQL:

  • Can't open word documents in mail

    I've recently converted to Mac at my home, however i still use a PC at work. I have installed the latest version of office for mac, however when i try to use either mail or entourage i find that i cannot open attached word documents. For my work i co

  • Accepting Text Edits from Comment review Ver 7

    I have successfully sent a pdf document out for review by email and comments and edit markups have been inserted. How can I accept/reject these edits with out retyping into either the PDF or the original Indesign file that the PDF was created from. I

  • Tracking and Masking  Text

    How do i do this: http://www.youtube.com/watch?v=1sJFGDpUdgA Is there a tutorial out there ?? Hope for help Jacob

  • EVM measuremen​t

    Hi, I have NI USRP 2922 and LabVIEW software. Can someone guide me how to make a coding for EVM measurement to measure the performance of transmit receive (point to point) signal?? Thank You, Regards, Mardiah