+ Reply to Thread
Results 1 to 3 of 3

Having issues with looping through sheets to subtotal

  1. #1
    Registered User
    Join Date
    12-15-2020
    Location
    U.S.
    MS-Off Ver
    2016/Office 365
    Posts
    5

    Having issues with looping through sheets to subtotal

    Hi All,

    This is the below code I have below and it seems to be only looping through one sheet. Please let me know what I am doing incorrectly:

    Please Login or Register  to view this content.
    Last edited by digbicks1234; 02-06-2021 at 11:02 PM.

  2. #2
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Having issues with looping through sheets to subtotal

    Instead of using Selection in the body, you have to reference a range, like:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    12-15-2020
    Location
    U.S.
    MS-Off Ver
    2016/Office 365
    Posts
    5

    Re: Having issues with looping through sheets to subtotal

    Quote Originally Posted by maniacb View Post
    Instead of using Selection in the body, you have to reference a range, like:

    Please Login or Register  to view this content.
    Thank you, this is exactly what I was looking for.

+ 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] Looping issues with a For statement
    By DeanMcK in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-26-2020, 01:27 AM
  2. [SOLVED] Having issues Looping
    By MattDtr in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-16-2013, 09:42 PM
  3. [SOLVED] VBA Looping issues
    By danola in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-30-2012, 07:11 AM
  4. Looping issues
    By lian.cragg in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-13-2010, 11:15 AM
  5. Replies: 2
    Last Post: 07-11-2009, 09:19 PM
  6. looping issues
    By Marcus Gee in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-09-2007, 11:42 PM
  7. cursor shoots to a corner of the screen
    By roger_home in forum Excel General
    Replies: 0
    Last Post: 04-19-2006, 08:30 PM

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