Results 1 to 4 of 4

How To Extract Table Data From a PDF / Copy/Paste to CSV

Threaded View

  1. #1
    Registered User
    Join Date
    03-09-2016
    Location
    Detroit
    MS-Off Ver
    365
    Posts
    10

    How To Extract Table Data From a PDF / Copy/Paste to CSV

    Hello,

    My goal is to utilize pdf table data to populate a csv file. A simple copy & paste only serves to populate 1 column with all data. Ideally, I would like the columns to remain intact when copying and pasting over.

    I can go line by line copying and transposing the desired rows into the original columns but would like to automate this process to better understand for loops in VBA.

    Utilizing the Record Macro Functionality I have come up with this:
    Sub Test()
    '
    ' Test Macro
    '
    ' Keyboard Shortcut: Ctrl+j
    '
        Range("A2:A9").Select
        Selection.Copy
        Range("A1").Select
        Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _
            False, Transpose:=True
    End Sub
    Last edited by alansidman; 02-05-2025 at 01:51 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Copy paste data from table to another table then delete data without losing formulas
    By dps9460 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-11-2019, 03:14 AM
  2. Extract and copy data between two dates and paste them in another workbook
    By forquaidian in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 10-06-2015, 01:03 AM
  3. Extract and copy data between two dates and paste them in another workbook
    By forquaidian in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-05-2015, 08:50 AM
  4. Replies: 3
    Last Post: 07-29-2012, 05:05 PM
  5. Extract SPECIFIC data from Excel and Paste it in a Word Table
    By smarinaj in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-04-2011, 03:15 PM
  6. Extract/copy data from a table
    By razaas in forum Excel General
    Replies: 10
    Last Post: 01-04-2010, 07:55 AM
  7. Extract data from table and paste toappropriate column
    By georgeB in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-01-2006, 05:33 PM

Tags for this Thread

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