+ Reply to Thread
Results 1 to 14 of 14

Connected sheets not updating

Hybrid View

  1. #1
    Registered User
    Join Date
    01-23-2014
    Location
    Cambridgeshire
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Connected sheets not updating

    Hello,

    I am absolutely lost, sorry! I've been looking at examples, but I still don't understand how to start a macro, insert a function and then end the macro.

    I've come across this code: Worksheet(1).Calculate There was nothing but this line of code and I just don't know what to do with it. This'll be my first ever macro.

    The workbook is attached below.

    Accom - Collective Data.xlsm


    Kristian

  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: Connected sheets not updating

    Hi,

    There's a small example to get you started in the attached workbook. When you open it make sure that your Excel application is set to Manual calculation. It will be if this is the first workbook you have opened in your excel session, but if not just click on the Formula menu item, go to Calculation options over on the right and click Manual calculation.

    Now have a look at cell I9. it has a formula =I8+1. Enter a number in I8 and you'll see nothing changes. Now click the 'Calculate this sheet' button and you'll see that the cell I9 now changes. That's because the button has run the small macro - see picture attached.

    To get to the macro environment click hold down the ALT key and hit he F11 key.

    See how there is a Module1 with a single procedure called 'CalculateSheet1' with the instruction Sheet1.Calculate.

    Macros are not always that simple but hopefully you get the idea. The macro is attached to the button. right click the button to see the 'Assign Macro option.

    You'll need to take this gently step by step.
    Attached Images Attached Images
    Attached Files Attached Files
    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)

Similar Threads

  1. Updating across sheets
    By Spicekiwi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-07-2013, 07:32 PM
  2. Automatically inserting new rows in sheets or updating the sheets
    By AlexOram in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-03-2012, 07:35 AM
  3. Updating Multiple Sheets
    By Flintstone9999 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 12-12-2007, 10:34 PM
  4. Auto updating sheets
    By charmedcharmer in forum Excel General
    Replies: 1
    Last Post: 04-03-2007, 10:24 PM
  5. Just Updating Sheets
    By Stuie in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-08-2007, 10:38 AM

Tags for this Thread

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