+ Reply to Thread
Results 1 to 2 of 2

Copy and Paste w/in a table using VBA including Formulas

  1. #1
    Forum Contributor sorensjp's Avatar
    Join Date
    12-23-2015
    Location
    Yokosuka, JP
    MS-Off Ver
    2007 and 2016
    Posts
    196

    Copy and Paste w/in a table using VBA including Formulas

    Hello all,

    I'm having problems using 'Copy and Paste' with VBA of data between two Sheets with one having advanced filters. I'm having two problems that I think are related.

    On my EVENTS Sheet contains the mapped data from the EVENTS LIST Sheet. I want a copy of all of the EVENTS LIST data copied to ROW 29+ on the EVENTS Sheet (eventually I will incorporate filters too). As I highlight a ROW of data on the EVENTS Sheet the data is pull to the on sheet User Form at the top. But If I make any changes they are improperly reflected the table below on the same sheet and the EVENTS LIST sheet as well. For instance - If I make a name change in cell F5:G5 the table below changes to a CREW_ID and oddly it shows the wrong one and if I change the name to the same name it shows the correct CREW_ID but I don't want that shown I want the name shown. The other aspect is the Start On (Date + Time) in K29+ doesn't show the data (I'm trying to use a Copy & Paste Special to combine two fields coming from the advanced filtered data set on the EVENTS LIST Sheet.

    The Adv Filter Code VBA is contained on Events_MISC Module under Sub Event_Refresh(). I'm using Worksheet_Change Sub for Sheet 5 (EVNTS Sheet) to make updates directly to the table on that sheet.

    This project is based mostly the Employee Manager Series - by Excel for FreeLancers (Randy Austin) on Youtube. The specific video is:
    HTML Code: 
    as it relates to the part of my project.

    I've received a lot of help on this Forum and cannot be more "Thankful" for all the advice and assistance.


    V/r,
    Jim


    Edit:

    I figured out the "Start On (Date + Time)" Copy & Paste Formula issue. I didn't properly adjust for the number of "cells" shifted too the right when the formula is copied due to not being absolute referenced.
    Attached Files Attached Files
    Last edited by sorensjp; 04-26-2019 at 10:53 PM.

  2. #2
    Forum Contributor sorensjp's Avatar
    Join Date
    12-23-2015
    Location
    Yokosuka, JP
    MS-Off Ver
    2007 and 2016
    Posts
    196

    Re: Copy and Paste w/in a table using VBA including Formulas

    All,

    Thank you for looking at my Project but I was able to resolve my issues. A few references in the VBA were not updated properly in all areas as I added items.

    V/r,
    Jim

+ 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. Replies: 22
    Last Post: 01-30-2019, 01:09 PM
  2. [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
  3. Copy and paste values without including the drop-down list
    By Utz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-15-2014, 12:14 PM
  4. VBA to copy / paste (including formulas) to next available row
    By nellyc in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-20-2014, 05:07 AM
  5. Replies: 4
    Last Post: 12-10-2013, 01:20 AM
  6. Copy paste multiple sheets including pivot table formats
    By Fursmanm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-29-2012, 09:14 AM
  7. [SOLVED] Copy and paste a cell including the formula
    By stryder1587 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-20-2012, 04:21 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