+ Reply to Thread
Results 1 to 4 of 4

VBA and copying tables

  1. #1
    Forum Contributor
    Join Date
    11-08-2017
    Location
    Murfreesboro, TN
    MS-Off Ver
    MS 365
    Posts
    168

    VBA and copying tables

    I have some VBA that copies the contents of a Table from one worksheet to another, and pastes it as values to function as a back-up file for the original spreadsheet.

    I am now trying to write more VBA to take the values from the back-up and copy them to yet another file. It will function as a restored file.

    I am using the following format to copy everything else and need to know how to enter the range when I don't know how many rows the table will be.

    Please Login or Register  to view this content.
    Is there some sort of COUNT feature that I can use to capture as many lines as the user may have entered on the original table?

    Does that make sense? I am using Excel 2016.

    Thanks!

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: VBA and copying tables

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    11-08-2017
    Location
    Murfreesboro, TN
    MS-Off Ver
    MS 365
    Posts
    168

    Re: VBA and copying tables

    Perfect! Thank you so much!

  4. #4
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: VBA and copying tables

    You are welcome, glad I could be of some help
    If you are satisfied, please mark the thread as SOLVED!!!

+ 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. Copying and Pasting Tables and Graphs.
    By TWG in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 02-08-2017, 08:30 PM
  2. Replies: 0
    Last Post: 09-22-2012, 07:22 PM
  3. Copying pivot tables as data tables with formatting
    By wolis in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-17-2012, 12:57 AM
  4. Copying Tables
    By jlhudson in forum Excel General
    Replies: 0
    Last Post: 07-19-2011, 07:18 PM
  5. Copying Live Pivot Tables?
    By Lorna B in forum Excel General
    Replies: 0
    Last Post: 01-15-2010, 10:12 AM
  6. [SOLVED] copying word tables into excel
    By vmwexway in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-01-2006, 02:40 PM
  7. copying subtotals in Pivot tables
    By Tab in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM

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