+ Reply to Thread
Results 1 to 3 of 3

Looking for an efficient way to paste 100's of VBA formulas into a spread sheet.

  1. #1
    Forum Contributor
    Join Date
    11-22-2020
    Location
    Sydney Australia
    MS-Off Ver
    365
    Posts
    202

    Looking for an efficient way to paste 100's of VBA formulas into a spread sheet.

    Hi All,

    I have a workbook, with many sheets and many many tables.

    Because I have to insert formulas into the top rows of the tables, absolute and relative referencing goes out the door.

    So I have ended up programing hundreds of cells via VBA to look something like this.

    Please Login or Register  to view this content.
    With some great help from Ali, I have now also introduced PQ into refreshing dependent tables. However, the refreshing has to happen very frequently. Which all leads to the system ssssslllllloooooooooooowwwwwwing down.

    Any ideas on how to program better, or just be able to speed this up would be most appreciated. Or do I just have to bide my time and wait for the circular curser to stop spinning ?

    Thanks for your help in advance.
    Last edited by JeffGrant; 02-22-2021 at 06:30 AM. Reason: Administration request

  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,973

    Re: Looking for a better way to do this

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)

    Also, Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    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
    Forum Contributor
    Join Date
    11-22-2020
    Location
    Sydney Australia
    MS-Off Ver
    365
    Posts
    202

    Re: Looking for a better way to do this

    Hi FDibbins, I have amended the Title, fair enough. Thanks for that.

    Regarding the tags, ok got it :-) make sense now.

    Thanks for your help.

    Jeff
    Last edited by JeffGrant; 02-22-2021 at 06:26 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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