+ Reply to Thread
Results 1 to 8 of 8

Paste range to Powerpoint textbox

  1. #1
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Paste range to Powerpoint textbox

    Hello,

    I'm struck trying to get the right syntax for pasting a range (e.g. A1:A5) from the active worksheet to a textbox in a PPT template. Here's what I have so far (opens Powerpoint 2010) but can't get it to paste (text only).

    Any thoughts are appreciated.

    abousetta

    Please Login or Register  to view this content.
    Last edited by abousetta; 12-15-2016 at 08:28 AM.
    Please consider:

    Thanking those who helped you. Click the star icon in the lower left part of the contributor's post and add Reputation.
    Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Paste range to Powerpoint textbox

    Hi,

    Are you trying to paste to an existing textbox, or to create one from the paste? For the latter something like this should suffice
    Please Login or Register  to view this content.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  3. #3
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Paste range to Powerpoint textbox

    Thanks. This is very helpful.

    My intent was the former (to paste to an existing textbox).

    This is now working with the text "Some text" hardcoded into vba but not for the range:

    Please Login or Register  to view this content.
    abousetta

  4. #4
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Paste range to Powerpoint textbox

    Got it working... big thanks for all your help.

    I created a loop to add the range to a string. Then pasted the string into the textbox.

    Please Login or Register  to view this content.

  5. #5
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Paste range to Powerpoint textbox

    If it's always B1:B5, you might also use
    Please Login or Register  to view this content.

  6. #6
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Paste range to Powerpoint textbox

    Thanks. Good point.

  7. #7
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Paste range to Powerpoint textbox

    You're welcome. Thank you for the rep.

  8. #8
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Paste range to Powerpoint textbox

    Anytime brother. Keep up the good work.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Copy range in excel and paste in Powerpoint VBA
    By JeradAllan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-04-2017, 08:49 AM
  2. [SOLVED] Copy Range (B2&B3) from excel to a textbox in Powerpoint
    By IonutC in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-01-2016, 06:30 AM
  3. [SOLVED] Paste Range to duplicated Powerpoint slide not working the way i'd hoped. HELP!!!!!
    By Jschroeder71 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-15-2016, 07:59 AM
  4. VBA Powerpoint Paste Excel Range as Table
    By JSmith1504 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-30-2015, 11:38 AM
  5. Copy and Paste Excel range as embedded table in Powerpoint (Mac)
    By OliverBrain in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-01-2015, 10:27 AM
  6. excel to powerpoint- paste a range
    By k2sarah in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-19-2006, 05:25 PM
  7. [SOLVED] Textbox disappears from Excel paste into PowerPoint
    By NickSteel in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 12-06-2005, 01:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1