+ Reply to Thread
Results 1 to 4 of 4

Need to calculate specified worksheets using VBA but code not working..

  1. #1
    Registered User
    Join Date
    07-04-2009
    Location
    Singapore
    MS-Off Ver
    Office 2013
    Posts
    36

    Need to calculate specified worksheets using VBA but code not working..

    Hi there

    I'm using a commandbutton to calculate specified worksheets and cells. My Command Button is in Sheet1 and I need to calculate worksheet 2 and 6. But with the code below, only worksheet 2 is being calculated... Worksheet 6 is not calculated when I try running it.. Any idea what is wrong with the code? Thanks!

    Please Login or Register  to view this content.
    Last edited by pinkpeace7; 02-26-2014 at 09:20 PM.

  2. #2
    Registered User
    Join Date
    07-04-2009
    Location
    Singapore
    MS-Off Ver
    Office 2013
    Posts
    36

    Re: Need to calculate specified worksheets using VBA but code not working..

    Hi there

    I'm using a commandbutton to calculate specified worksheets and cells. My Command Button is in Sheet1 and I need to calculate worksheet 2 and 6. But with the code below, only worksheet 2 is being calculated... Worksheet 6 is not calculated when I try running it.. Any idea what is wrong with the code? Thanks!

    Please Login or Register  to view this content.
    Sorry about earlier.. Is this correct or do I need to submit a new thread? Thanks!

  3. #3
    Registered User
    Join Date
    07-04-2009
    Location
    Singapore
    MS-Off Ver
    Office 2013
    Posts
    36

    Re: Need to calculate specified worksheets using VBA but code not working..

    Thanks, I have done that! Any advice will be appreciated!

  4. #4
    Registered User
    Join Date
    07-04-2009
    Location
    Singapore
    MS-Off Ver
    Office 2013
    Posts
    36

    Re: Need to calculate specified worksheets using VBA but code not working..

    Anyone can help to see if my code is correct as VBA is very new to me..
    I need both worksheets 2 and 6 to calculate when I run this macro.. but when I did, only worksheet 2 is being calculated..

+ 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. vba code needed to calculate the number of working days thus far for the month
    By Jim885 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-22-2014, 09:38 PM
  2. [SOLVED] Code to Combine Worksheets in Excel 2010 Not working
    By jcicero57 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-07-2013, 02:09 PM
  3. Working piece of code to calculate 50th percentile in a pivot plot .
    By acoron01 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-06-2013, 12:56 PM
  4. Replies: 9
    Last Post: 03-08-2013, 11:50 AM
  5. [SOLVED] Worksheet Change event code moved to Worksheet Calculate event... and it's not working
    By KimberlyC in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-23-2005, 06:05 PM

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