+ Reply to Thread
Results 1 to 2 of 2

Paste clipboard contents

  1. #1
    Registered User
    Join Date
    11-25-2009
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    25

    Paste clipboard contents

    I have an application at work that generates a report in the form of a table. I can view the table then select "Save to Excel". If I select this option then open an Excel workbook and paste, the entire table is pasted in an unformatted form from the active cell. I then filter, format and save various filtered results to different new workbooks. This is the process I am trying to automate using VBA.

    What VBA function would paste the clipboard contents starting at a particular cell? In effect Ctrl-v. I've seen a number of examples but they don't quite match what I'm doing as Excel won't even be opened until after the data has been copied to what I'm guessing is some sort of global clipboard by the other application.

    Once I've worked this out I will research how to filter the spreadsheet, create new workbooks with file names and paths I construct and paste filtered results to these various newly created workbooks.

  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 clipboard contents

    Perhaps something like this
    Please Login or Register  to view this content.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

+ 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. [SOLVED] Pasting clipboard contents using VBA
    By brucemc777 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-14-2015, 09:41 PM
  2. Macro to Paste Clipboard Contents
    By Adamp1027 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-22-2013, 07:57 PM
  3. Clear sheet contents but retain Clipboard contents
    By nebb in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-25-2007, 01:42 PM
  4. copy and paste and clipboard contents message
    By dr chuck in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-25-2006, 11:35 AM
  5. [SOLVED] Store clipboard before "vba do cut&paste" then recover stored information to clipboard?
    By Marie J-son in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-08-2006, 02:00 AM
  6. [SOLVED] Clear clipboard contents
    By Cordobes in forum Excel General
    Replies: 4
    Last Post: 11-21-2005, 10:45 PM
  7. [SOLVED] Keep contents in clipboard
    By Kenny in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-20-2005, 04:05 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