+ Reply to Thread
Results 1 to 5 of 5

Pasting formulas over to multiple sheets at once

  1. #1
    Valued Forum Contributor luv2glyd's Avatar
    Join Date
    07-13-2008
    Location
    Seattle, WA, US
    MS-Off Ver
    Excel 2010
    Posts
    679

    Red face Pasting formulas over to multiple sheets at once

    I have a master formula sheet and 1000 additional sheets where formulas from master have to be pasted. Just looking for the most efficient way of doing this as the formulas are rather bulky.
    Trying to select all 1000 sheets at once and THEN copy over formulas like this, without including the last line in the loop, but getting an error on the last line:

    Please Login or Register  to view this content.
    If I include last line in the loop, it takes about 40 seconds to do the whole procedure...

    Alternatively I tried using the copy command, but getting an error on the second to last line:

    Please Login or Register  to view this content.
    Would love to get it to work both ways and try running it to see which is faster. I did try both ways by copying to each sheet one at a time using the loop, but it takes way too long, thus attempting to select all sheets first and THEN transfer the formulas.

    Thank you.
    You either quit or become really good at it. There are no other choices.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Pasting formulas over to multiple sheets at once

    1st, if you have 1000 sheets - wow!!! that is probably 990 sheets too many, how on earth do you find anything?

    2nd, if you need to copy the same formula to the same cell in a range of sheets, try this apprpoach...
    1. Copy the formula you want
    2. click the 1st sheet you want to include
    3. SCROLL to the last sheet you want to include
    4. hold down the shift key and click on that last sheet. You should now have GROUPED all those sheets - what you do to 1, will be done to them all
    5. paste the formula to where you want it to go. This should paste it through to all the selected sheets
    6. Nake sure you unGROUP all sheets when done by either clicking on an unselected sheet or right-clicking a sheet tab and selecting UNgroup
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Valued Forum Contributor luv2glyd's Avatar
    Join Date
    07-13-2008
    Location
    Seattle, WA, US
    MS-Off Ver
    Excel 2010
    Posts
    679

    Re: Pasting formulas over to multiple sheets at once

    Hi Ford,

    Thanks for your post. What you described was actually exactly the original way I did it, but the issue is that the 1000 sheets change names all the time (and the macro records all individual sheet names), that's why I have to do the selection using a loop. Also, I almost got the second method in my post above to work (it sometimes works, sometimes does not depending if I manually select one of the 1000 sheets or not) and it is actually trims more than 50% off of the time vs. the original way (one you described).

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Pasting formulas over to multiple sheets at once

    Why on earth do you have 1000 sheets though?

  5. #5
    Valued Forum Contributor luv2glyd's Avatar
    Join Date
    07-13-2008
    Location
    Seattle, WA, US
    MS-Off Ver
    Excel 2010
    Posts
    679

    Re: Pasting formulas over to multiple sheets at once

    Historical options data - 1 for each symbol.

+ 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] Pasting data from multiple sheets onto one sheet
    By Jhertilus in forum Excel General
    Replies: 5
    Last Post: 06-30-2013, 02:53 PM
  2. [SOLVED] Pasting cells from multiple sheets onto one sheet
    By Jhertilus in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-30-2013, 11:52 AM
  3. Pasting Formulas Into Multiple Files
    By sbossio in forum Excel General
    Replies: 3
    Last Post: 09-26-2011, 01:13 PM
  4. Copy formulas to adjacent columns - multiple cells and multiple sheets
    By swanseaexcel in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 01-12-2011, 06:21 AM
  5. Pasting multiple sheets in to a workbook based on critera matching file name
    By munkee in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-24-2009, 05:50 PM
  6. pasting formula issue - working with multiple sheets
    By misteremanca in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-17-2008, 04:58 PM
  7. Replies: 2
    Last Post: 11-24-2005, 05:35 AM
  8. [SOLVED] Pasting on Filtered Data Sheets without pasting onto hidden cells
    By CCSMCA in forum Excel General
    Replies: 1
    Last Post: 08-28-2005, 09:05 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