+ Reply to Thread
Results 1 to 4 of 4

Need help/VBA/Insert Columns and data

  1. #1
    Registered User
    Join Date
    08-13-2018
    Location
    taylor mill, kentucky
    MS-Off Ver
    2010
    Posts
    61

    Need help/VBA/Insert Columns and data

    Hello all,

    Could use some help here, not sure where to even start.
    cap 1.PNG
    This is my starting process. What I need to do is copy the dates column and the ticker column and insert it prior to each name that is referenced in Row 1. Column B the ticker column needs to have the name that is referenced to it in row 1.
    Here is the after picture of what I am looking for.
    cap 2.PNG

    The caviot here is that i need something that would dynamically do this, because sometimes there is 20 columns, other times there are 50+ columns
    Last edited by nathan.volker12; 01-22-2019 at 12:16 PM.

  2. #2
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Need help/VBA/Insert Columns and data

    Your data would be easier to read and work with if you click the 'Go Advanced' button on the 'Quick Reply' box and then click 'Manage Attachments' to upload your file. We responders can then access the actual file and work with it to develop solutions.
    Any code provided by me should be tested on a copy or a mock up of your original data before applying it to the original. Some events in VBA cannot be reversed with the undo facility in Excel. If your original post is satisfied, please mark the thread as "Solved". To upload a file, see the banner at top of this page.
    Just when I think I am smart, I learn something new!

  3. #3
    Registered User
    Join Date
    08-13-2018
    Location
    taylor mill, kentucky
    MS-Off Ver
    2010
    Posts
    61

    Re: Need help/VBA/Insert Columns and data

    I have tried to upload the workbook but it tells me upload failed everytime I tried, Thats why I posted the pictures so that there was still something to see

    This is the file on my onedrive if your able to access it there

    https://1drv.ms/x/s!Aop9YfDogrcQhjASSXiW6Q3gNHqB

  4. #4
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Need help/VBA/Insert Columns and data

    Make a copy of your file and try this code on it. If your sheet names are not the same as in the posted examples, then you will need to correct them in the Set statements below.

    Please Login or Register  to view this content.

+ 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] Take data from 3 columns and insert into a table
    By uklipse in forum Excel General
    Replies: 2
    Last Post: 05-03-2018, 04:57 PM
  2. [SOLVED] How to take data from columns in some rows and insert in new row?
    By janschepens in forum Excel General
    Replies: 8
    Last Post: 04-25-2012, 10:07 AM
  3. Insert new columns & populate row data
    By Brontosaurus in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-20-2010, 06:38 AM
  4. How to insert split data to particular columns
    By techissue2008 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-17-2008, 01:42 AM
  5. Insert new columns into data range!
    By dbolan in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-01-2007, 01:27 PM
  6. Insert Multiple Columns Between Data
    By masterp in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-20-2006, 08:41 AM
  7. [SOLVED] unable to insert columns in excel, insert-> columns (disabled)
    By iam_leearner in forum Excel General
    Replies: 1
    Last Post: 08-13-2006, 09:26 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