+ Reply to Thread
Results 1 to 5 of 5

Issues creating additional columns

  1. #1
    Forum Contributor
    Join Date
    05-13-2012
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    378

    Question Issues creating additional columns

    Good afternoon all!!

    So I have been working on automating a production report and have hit a snag. I can't seem to get the right code to add worksheets to a workbook and then assign them a specific name. I am also having a hard time with creating code that will add some columns. I my report currently has 20 Columns but that could change as reporting requirements change, so I need a dynamic code that will name 4 more columns for me..."Row", "Elapsed Time", Expected Time" and "Tech".

    Can someone help me resolve this issue???

    Thanks!!!!!!!!!
    Last edited by dwhite30518; 01-29-2014 at 09:20 PM.

  2. #2
    Valued Forum Contributor Sean Thomas's Avatar
    Join Date
    03-25-2012
    Location
    HerneBay, Kent, UK
    MS-Off Ver
    Excel 2007,2016
    Posts
    971

    Re: Can't believe I can't figure this out!

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Last edited by 6StringJazzer; 01-29-2014 at 09:15 PM. Reason: redundant code tags causing spacing trouble
    Regards
    Sean

    Please add to my reputation if you think i helped
    (click on the star below the post)
    Mark threads as "Solved" if you have your answer
    (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code:
    [code] Your code here [code]
    Please supply a workbook containing example Data:
    It makes its easier to answer your problem & saves time!

  3. #3
    Forum Contributor
    Join Date
    11-13-2013
    Location
    United States
    MS-Off Ver
    2010
    Posts
    147

    Re: Can't believe I can't figure this out!

    Hi dwhite,

    Here is the code to add a worksheet and name it when it is added

    Please Login or Register  to view this content.
    As for adding columns, have you tried

    Please Login or Register  to view this content.
    That will insert a column to the left of the active cell.

    Hope this helps.
    ----
    Mark threads as Solved
    Star those that help

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Can't believe I can't figure this out!

    dwhite30518 , your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  5. #5
    Forum Contributor
    Join Date
    05-13-2012
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    378

    Re: Issues creating additional columns

    Sean-

    That code worked perfectly! Thanks!

    ImSteveB-
    Thanks for your assistance as well!


    Thanks!

+ 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: 1
    Last Post: 02-18-2013, 06:09 AM
  2. Sum formula to exclude monthly budget figure when actual figure is entered
    By rocketmail in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-02-2013, 04:22 AM
  3. Cross Reference to a Figure actually showing figure, not just caption
    By mgaworecki in forum Word Formatting & General
    Replies: 2
    Last Post: 02-23-2012, 10:53 AM
  4. Calculating monthly sales figure required to make annual turnover figure
    By CatIsoSio Sky in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-27-2010, 04:42 PM
  5. Replies: 3
    Last Post: 10-14-2009, 11:37 AM

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