+ Reply to Thread
Results 1 to 2 of 2

UpDate Formula

  1. #1
    Forum Contributor
    Join Date
    07-26-2006
    Posts
    141

    UpDate Formula

    I currently have some code written to copy and sheet and rename the new sheet to whatever the user enters in on UserForm2 TextBox1. I now need a way to update a total formula when a sheet is added like the formula below to include whatever name is used.

    B27+F27+J27+"whatever name the new sheet is"!B27+"whatever name the new sheet is"!F27+"whatever name the new sheet is"!J27 and so on.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: UpDate Formula

    Hi,

    Try adapting the following.

    Please Login or Register  to view this content.
    just add other instances of the INDIRECT(MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,256)&"!B27"
    bit, changing the B27 as necessary

    HTH
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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