Inserting text into existing text in Powerpoint

Hi
I have a text like "I have included xxx in the quote." in a slide. How can I insert text such as '8 items per head' in place of xxx via code?
Thanks
Regards

Hi,
>> How can I insert text such as '8 items per head' in place of xxx via code .
You can use Replace () method to replace "xxx" .Here is the sample code for you , which you can refer to replace "XXX" in the textRange in your PowerPoint  
Set myDocument = ActivePresentation.Slides(2)
Dim str
For Each s In myDocument.Shapes
If s.HasTextFrame And s.TextFrame.HasText Then
  str = s.TextFrame.TextRange.Text
  s.TextFrame.TextRange.Text = Replace(str, "xxx", "8 items per head")
   End If
Next
Best Regards
Lan
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • I bought versions for iPad and for MacBook. At synchronization of documents on MacBook all smilies from the Emoji keyboard disappeared. It is impossible to insert them into the text manually. Smiles of Emoji are supported by the program for Mac? Help to s

    I bought versions for iPad and for MacBook. At synchronization of documents on MacBook all smilies from the Emoji keyboard disappeared. It is impossible to insert them into the text manually.
    Smiles of Emoji are supported by the program for Mac?
    Help to solve a problem, please.

    Same thing happened to me with my peruvian credit card in the peruvian app store, I want to buy an app, but it says that my credit card is "not supported in the Peruvian app store"

  • Why can't I create a document in my Facebook group on my iPad? It won't let me input any text into the text box field after I create a new document. Thanks.

    Why can't I create a document in my Facebook group on my iPad. It won't let me input any text into the text box field after I create a new document. Thanks.

    Just thought I'd add my solution, I decided to go with WebDAV and I think it actually works better than the iTunes way, the steps are pretty much the same but avoiding the iTunes interface just makes things easier and faster.
    I followed this guide but it does have a small mistake in the httpd-dav.conf file, on line 2, where it's WebServer/WebDAV">, it should be <Directory "/Library/WebServer/WebDAV">.
    The tricky part is setting permissions which if wrong will give you errors when connecting with the iPad, I opted to set all to Read&Write since my home network has a hardware firewall. Another convenience was to add an alias to the webdav share on the Desktop.
    I'm still expecting the call from Apple but even if they fix the iTunes I'm sticking with WebDAV, atleast until I see what's new with iOS5 and iCloud this fall which should bring true sync for documents (I'm hoping that they will offer encryption with my own keys, if not, then I'll probably keep using WebDAV).

  • Copying a standard text into another text in so10

    Hello Gurus,
           I have an issue where i need to track offer letter,i have a standard text which is been automatically used in pb40 while generating offer letter and that is ww-offer-contract in which i need to change the code ( in textid palt )but it is read only document. i need to copy the text into another text.So that i can do the changes required in that.
    If i go with Utilities-->copy from client then it is allowing me to copy but not allowing me to change into it.it is giving me the dump.Since it is asking for the permission,i went for stop protection.but still it is giving me the dump.
    Any one plzz help me out with this.
    Thank you all.
    Edited by: BHAVANI MADIREDDY on Feb 12, 2008 12:34 PM

    There is a selection screen parameter
    parameters: par_bi like rfpdo1-f100buch   default ' '.
    Comment this and declare a variable and pass 'X' or space into that as per the requirement.

  • Feature Request: overflow text (threading text into another text box) as in InDesign

    I would like to see overflow text (threading text into another text box) as in InDesign

    Brilliant. Thanks for the reply. The file I'm using is the same one I've been using as a emplate for about 3 years now, but I've recently upgraded to Windows 8 and re-installed my copy of InDesign onto that, so I could have inadvertantly flicked one of these settings on during setup.
    I'll look through the properties or something and see if I can find the language settings.
    Thanks Steve, I appreciate your help. :-)

  • Inserting text into table cells in Powerpoint

    Hi
    I have a named table ClientInfo on Slide 3 in Powerpoint. How can I programmatically insert text into the table's cells?
    Thanks
    Regards

    Hi Yahya,
    What did you mean named table? Did you mean the name of shape?
    If I understood correctly, we can use table object to manipulate a table shape on a slide. And here is a sample to insert text into the first cell for your reference:
    Application.ActivePresentation.Slides(3).Shapes("ClientInfo").Table.Cell(1, 1).Shape.TextFrame.TextRange.Text = "Hello"
    Also here are some helpful links for learning PowerPoint developing:
    How do I... (PowerPoint 2013 developer reference)
    Object model reference (PowerPoint 2013 developer reference)
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Table of Contents into existing text fame?

    Hi there,
    I'm looking to put a table of contents about halfway down a page that has content on it (paragraph > ToC > another paragraph). I don't want the ToC in its own text frame, because if the copy/layout before it changes, it'll be in the wrong place...
    Is there a way to do this without copying/pasting the ToC into the text frame (which doesn't permit me to update the ToC)?
    Thanks in advance!
    - steve

    flossdaily wrote:
    Hi there,
    I'm looking to put a table of contents about halfway down a page that has content on it (paragraph > ToC > another paragraph). I don't want the ToC in its own text frame, because if the copy/layout before it changes, it'll be in the wrong place...
    Is there a way to do this without copying/pasting the ToC into the text frame (which doesn't permit me to update the ToC)?
    Thanks in advance!
    - steve
    The TOC needs to be in a frame that's not threaded to others, but is able to grow and shrink to contain its content, and also resize in relation to frames around it.
    Typefi systems' InDesign CS4 free Auto-fit plug-in probably can do what you want, but there's no sign of a CS5 version at this time.
    http://www.typefi.com/index.php/typefi-autofit
    The commercial Blatner Tools has an autopage component probably can also do what you want.
    www.dtptools.com/help.asp?id=108
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Inserting Leads into a Text File?

    Hello there, I am wondering if there is a way to insert leads
    into a .txt file once a form is submitted?
    If so how would this be achieved. I know you can do this with
    PHP as I have done it before.
    Thanks
    Derek Bess

    > insert leads into a .txt file
    There are plenty of file tags and functions available. But
    what do you mean by "leads"?
    http://livedocs.adobe.com/coldfusion/8/htmldocs/functions-pt0_20.html#1100017

  • Pasting text into a text layer in Photoshop CC 2014

    I've been playing around around with Photoshop CC 2014 HTML5/Javascript extensions (CEP5) for a while now and I came across a problem I couldn't solve: how to paste text in an existing text layer when the user is editing the text? Using evalScript and app.activeDocument.paste(); works fine when pasting copied pixels as a new layer, but if the user is on a text layer editing the text (and I want the extension to paste text there), it throws an evalScript error.
    Am I doing something terribly wrong or what? The next thing I thought was to invoke paste event and try it that way.

    I only see the normal texture filtering. Seems like you have a fundamental misunderstanding here about how 3D works - "pixel perfect" has no meaning for 3D textures since UV space is parametric and has by itself in theory infinite resolution, so any texture will be fit into this range and inevitably a single pixel in the texture can cover more than a pixel on screen or more than a square milimeter on a 3D object. If you want "sharp" textures, you increase the texture resolution, which, if you realyl want that pixely look would be doen using the nearest neighbor method. Regardless, once you zoom in at some point you will see fuzzy edges/ pixels again. It's in the nature of the thing.
    Mylenium

  • How load text into dynamic text boxes from external file?

    hi all,
    my animation is very simple - a background image and 2 text boxes.  one of the textboxes shows a large word, which crossfades to another word, with a total of about 12 words (showing one at a time in different text boxes fading in & out in the same spot).
    i need a way to have the text be imported dynamically via xml or json (xml preferred).  this article is a good start, but i noticed he's putting all of the text into one box - i need separate strings put into separate boxes from the xml.
    Chris Gannon - Loading XML via AJAX into Adobe Edge
    he uses
    var outputField = $(this.lookupSelector(“xmlOutput”));
    for his text box.  what would be the best way to revise this code to include all my individual strings to be loaded into my individual text boxes?  thinking an array might work, but my js skills are limited.
    any other suggestions or tutorials you could point me to would be appreciated.
    thanks!!

    thanks joel_pau !
    this is helpful in seeing how the array is created, but after giving it a go I became a little confused.
    i wound up trying it again based on the example i linked out to previously, but it's not adding the text from my xml file when previewing.
    here's the code i'm using in edge animate on my stage.  something must be wrong somewhere.  let me know if you have any suggestions on this.
    // insert code to be run when the composition is fully loaded here
    // here i'm assigning a variable to each one of my textboxes at they're named in my edge animate comp
    var outputField1 = $(this.lookupSelector("helps2"));
    var outputField2 = $(this.lookupSelector("communicate"));
    var outputField3 = $(this.lookupSelector("experience"));
    var outputField4 = $(this.lookupSelector("interact"));
    var outputField5 = $(this.lookupSelector("understand"));
    var outputField6 = $(this.lookupSelector("overcome"));
    var outputField7 = $(this.lookupSelector("flourish"));
    var outputField8 = $(this.lookupSelector("collab"));
    var outputField9 = $(this.lookupSelector("trust"));
    var outputField10 = $(this.lookupSelector("grow"));
    var outputField11 = $(this.lookupSelector("engage"));
    var outputField12 = $(this.lookupSelector("survive"));
    var outputField13 = $(this.lookupSelector("thrive"));
    var outputField14 = $(this.lookupSelector("evolve"));
    var outputField15 = $(this.lookupSelector("connect"));
    var outputField16 = $(this.lookupSelector("achieve"));
    $.ajax({   
        type: "GET",
        url: "myxmlfile.xml",
        dataType: "xml",
        success: function(xml) {
    //here i'm trying to load the the text in my xml file into my textboxes in edge animate.  'txt1, txt2, txt3' are the tags in my xml file
            outputField1 = $(xml).find('txt1').text();
            outputField2 = $(xml).find('txt2').text();
            outputField3 = $(xml).find('txt3').text();
            outputField4 = $(xml).find('txt4').text();
            outputField5 = $(xml).find('txt5').text();
            outputField6 = $(xml).find('txt6').text();
            outputField7 = $(xml).find('txt7').text();
            outputField8 = $(xml).find('txt8').text();
            outputField9 = $(xml).find('txt9').text();
            outputField10 = $(xml).find('txt10').text();
            outputField11 = $(xml).find('txt11').text();
            outputField12 = $(xml).find('txt12').text();
            outputField13 = $(xml).find('txt13').text();
            outputField14 = $(xml).find('txt14').text();
            outputField15 = $(xml).find('txt15').text();
            outputField16 = $(xml).find('txt16').text();
    but nothing happens on preview.  my textboxes still contain the original text that lives in my comp.

  • Error when pasting 1K of text into a text area of tabular form

    This appears to be a bug to me, put please offer suggestions if you have them....
    Using apex with XE, I have created a table with two varchar2(4000) columns in them. The user will paste large blocks of text into one or both of them (e.g paste text copied from e-mail).
    I created a tabular form and set the two fileds to display as "text area". Insert and/or update works fine unless I paste more than about 1 to 1.5 kbytes of text into one of these fileds, in which case I get a page not found error with the following URL:
    http://127.0.0.1:8080/apex/wwv_flow.accept
    After the error page displays, I can hit the back button and then remove just enough text to get it to under the 1 to 1.5 kbytes and then either insert or update works fine.
    One more bit of info. If I create a single row form then it works fine, it is only the multi-row tabular form that seems to have this issue.

    I don't think the character set is the problem. I used a string of numbers 0123456789 and just copied and pasted it repeatedly to build up the text. The database character set is WE8MSWIN1252.
    Regarding the apache log. I have to admit that I don't even know if I'm running apache. I am using a newly installed Oracle XE on a laptop in order to get some experience with application express. This app is the first one I've done. If someone will direct me to the log then I'll be glad to check it and post the relevent contents.
    I signed up for an apex workspace and intend to see if I can recreate the error from there so I can see if the problem is just in the free version of apex that comes with the Oracle Express Edition for windows database.

  • Export Text into Infotype text cluster

    Hi,
    I am trying to insert some text into the infotype text (Edit -> Maintain Text) for infotype 40 programmatically.
    I have written the sample code below but the text is not inserted into the infotype. Can someone advise me what could be wrong with the code ?
    Many thanks in advance.
    Regards
    KC
    =============================================
    REPORT ZTEXTO .
    TABLES : PERNR, PCL1, pcl2.
    INFOTYPES : 0040.
    INCLUDE RPPPXD00.
    DATA : BEGIN OF COMMON PART BUFFER.
           INCLUDE RPPPXD10.
    DATA : END OF COMMON PART BUFFER.
    INCLUDE RPC1TX00.
    GET PERNR.
       LOOP AT P0040.
         MOVE-CORRESPONDING P0040 TO TX-KEY.
         REFRESH PTEXT.
         PTEXT-LINE = 'THIS IS A TRAIL INSERT INSERT INTO INFOTYPE TEXT'.
         APPEND PTEXT.
         RP-EXP-C1-TX.
       ENDLOOP.
       PERFORM PREPARE_UPDATE USING 'V'.
    BUFFER ADMINISTRATION ROUTINE.
    INCLUDE RPPPXM00.

    Hi,
    I have this same issue.  I have the infotype field ITEXT is set to 'X'.  I am trying to update the record in infotype 0672.  I am using the following code, it executes well. But it is not updating the infotype with the text.
    REPORT  zven_insert_text_infotpe                .
    TABLES : pernr, pcl1, pcl2.
    INFOTYPES : 0672.
    Data: gs_0672 TYPE STANDARD TABLE of pskey with header line.
    INCLUDE rpppxd00.
    DATA : BEGIN OF COMMON PART buffer.
    INCLUDE rpppxd10.
    DATA : END OF COMMON PART buffer.
    INCLUDE rpc1tx00.
    gs_0672-pernr = '00010053'.
    gs_0672-infty = '0672'.
    gs_0672-subty = '0001'.
    gs_0672-endda = '04042005'.
    gs_0672-begda = '04042005'.
    append gs_0672.
    clear  gs_0672.
    *GET pernr.
      LOOP AT gs_0672.
        MOVE-CORRESPONDING gs_0672 TO tx-key.
        REFRESH ptext.
        ptext-line = 'THIS IS A TRAIL INSERT INSERT INTO INFOTYPE TEXT'.
        APPEND ptext.
        rp-exp-c1-tx.
      ENDLOOP.
      perform prepare_update using 'V'.
      include RPPPXM00.
    Please let me know ASAP.
    Appreciate.
    Thanks.
    vgoy

  • Cannot paste text into a text layer in Photoshop

    Since a couple of days ago I cannot paste text into a photoshop text layer from any other source, like safari, word etc.
    I get an "popup error"-window in swedish (my language) saying something like "Could not complete the paste text command because the clipboard data was invalid or missing."
    Anyone having the same issue? Or maybe a fix on the problem? Of course i've tried restarting photoshop and also the computer. Running Mac OS X Yosemite and the latest Photoshop CC 2014.

    Well I can't paste any text into any DW document, file, blank, page name, nothing
    The paste command does not work in DW
    I have deleted corrupted cache
    I have tried Restore Preferences
    Nothing allows me to paste text in any format from any file format period.

  • Defaulting Standard Text into Vendor Text

    Hello,
    We have been asked if we can add functionality similar to the S010 standard texts in R/3, so that a SRM user can select from a list of standard texts. The text would default into the Vendor Text on the Shopping Cart, the user would be able to amend the text if required.
    Does anyone know if this is achievable? I assume it would have to be done via a BADI?
    Thank you.
    Kind Regards,
    Jackie Jones

    Hello Jackie,
    Use text schema to achieve your request: you can define fixed values for texts.
    In SRM 7.0 release, it is in IMG:
    SAP Implementation Guide > SAP Supplier Relationship Management > SRM Server > Cross-Application Basic Settings > Text Schema
    I think path is the same for lower releases.
    If you use fixed values, this means vendor text coming from your catalog has to make part of your fixed values.
    Regards.
    Laurent.

  • Is there a software for InDesign that will translate my english text into spanish text

    I have InDesign files in English text. Is there a software that will translate text into Spanish?
    Thanks,
    Sharon

    It's well worth paying someone who knows both languages well to do the translating.
    With software translation, at best, you get a rough translation. At worst, (especially when you can't read the language you are translating to), you could get something like this:

Maybe you are looking for

  • Consolidating MSP Files using a variable as the filename

    Hi All I am trying to consolidate a number of MSP Files without having to hardcode the filenames.  Here is what I have so far and it is falling over on the Application.ConsolidateProjects..... line.  Any help/advice would be appreciated: Sub ImportWo

  • Trigger a function after 1 minute while the app is open.

    Hey guys, I wrote a simple widget that reads from a rss file. My question is what's a good way to repeat a function every minute? The widget could run up to 8 hours straight.. Any ideas? I'd like to trigger bugsFeed.send(); once a minute. thanks!

  • Use of Tcode : FRFT_TR

    Hi, What is the Use of Tcode : FRFT_TR For what purpose, it can be use... Regards,...

  • Which switch model for more than 4 10G-Ports?

    we have a little network (100 clients, 1 VMware-Cluster with 2 Hosts, 1 Storage) and we want to replace old switches. we want to connect 4 cisco catalyst 2960X to core switch with 10G, and 4 2960X with 1G. Core switch is main routing instance for all

  • Splitting dual book pages into separate pdf pages

    I have a book scanned into pdf with two book pages per adobe page (side by side). How can I split the pdf page in way that each book page becomes its own pdf page? My chief concern is that one side is always tilted which makes reading and highlightin