Results 1 to 6 of 6

Thread: Excel help

  1. #1
    Banned
    Join Date
    Mar 2010
    Posts
    75
    Thanks
    0
    Thanked
    1 time in 1 post

    Excel help

    How can i copy a page of lines / columns etc as i want to make 52 weeks (sheets) so that i can input data for each week. I don't want to copy and paste for every week! I know there is a way to make the 52 sheets in excell but forgotten how to do it!! Thanks

  2. #2
    SiM
    SiM is offline
    Senior Member
    Join Date
    Apr 2006
    Location
    London
    Posts
    7,787
    Thanks
    300
    Thanked
    633 times in 422 posts
    • SiM's system
      • Motherboard:
      • P5K Premium
      • CPU:
      • Q6600
      • Memory:
      • 8GB PC2-6400 OCZ ReaperX + Platinum
      • Storage:
      • 3 x 320gb HD322HJ single platter in Raid 0
      • Graphics card(s):
      • PNY GTX285
      • PSU:
      • Corsair TX650W
      • Case:
      • Antec 1200
      • Monitor(s):
      • 2407-HC

    Re: Excel help

    Use VBA. Rather than me write the code for you it's a good idea to learn yourself.

    Post your code here if you get stuck.

    http://www.google.co.uk/search?q=vba+copy+sheet

  3. #3
    Banned
    Join Date
    Mar 2010
    Posts
    75
    Thanks
    0
    Thanked
    1 time in 1 post

    Re: Excel help

    I know that i have seen a command that will copy what i have on sheet one onto 52 sheets. Not sure how to do it though. Have looked online but useless at that!

  4. #4
    unapologetic apologist
    Join Date
    Nov 2005
    Location
    UK
    Posts
    1,954
    Thanks
    363
    Thanked
    275 times in 146 posts

    Re: Excel help

    well, to create the sheets, SHIFT+F11 will produce new ones

    you could then group them (SHIFT + CLICK the last sheet tab you want to group together)

    then, anything you do on the uppermost sheet will carbon copy to the other 51 sheets in the group.

    afterwards, click on any sheet tab outside the group to ungroup them, or if all are grouped, simply click any of the tabs to do so.
    One can never stop saying Thank You

  5. #5
    SiM
    SiM is offline
    Senior Member
    Join Date
    Apr 2006
    Location
    London
    Posts
    7,787
    Thanks
    300
    Thanked
    633 times in 422 posts
    • SiM's system
      • Motherboard:
      • P5K Premium
      • CPU:
      • Q6600
      • Memory:
      • 8GB PC2-6400 OCZ ReaperX + Platinum
      • Storage:
      • 3 x 320gb HD322HJ single platter in Raid 0
      • Graphics card(s):
      • PNY GTX285
      • PSU:
      • Corsair TX650W
      • Case:
      • Antec 1200
      • Monitor(s):
      • 2407-HC

    Re: Excel help

    Try using the record macro function to copy & paste a sheet. Then use a for loop.

    I don't have excel on this pc so have not tested this but try something like this:

    Code:
    sub copy_sheet()
    For i = 2 to 52
    Worksheets("Week1").copy
    activesheet.name = "Week"&i
    next i
    end sub
    e.g. you have made the first sheet and called it "Week1".

  6. #6
    Banned
    Join Date
    Mar 2010
    Posts
    75
    Thanks
    0
    Thanked
    1 time in 1 post

    Re: Excel help

    Now, that looks very familair. That is very much like what i used a while ago.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Excel Vlookup not working (sort of)
    By piggeh in forum Help! Quick Relief From Tech Headaches
    Replies: 9
    Last Post: 03-09-2010, 04:35 PM
  2. Replies: 0
    Last Post: 10-10-2008, 12:37 PM
  3. .NET Reading Multiple Excel Files
    By Shadow_101 in forum Software
    Replies: 5
    Last Post: 23-11-2007, 03:22 PM
  4. Excel + Database + Automated
    By Kezzer in forum Software
    Replies: 4
    Last Post: 29-03-2007, 04:54 PM
  5. Replies: 6
    Last Post: 12-08-2005, 08:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •