+ Reply to Thread
Results 1 to 2 of 2

VBA code that counts the number of entries in a textbox from a different sheet?

  1. #1
    Forum Contributor
    Join Date
    10-25-2016
    Location
    Derby, England
    MS-Off Ver
    MS 2013
    Posts
    228

    VBA code that counts the number of entries in a textbox from a different sheet?

    Hi,

    Please can someone help me?

    Is it possible to have a textbox on say worksheet 'A' that counts the number of entries on worksheet 'B'?

    So basically if the operator entered 10 entries on worksheet 'B' then the textbox on worksheet 'A' would have a 10 showing in it.

    Any help would be much appreciated.

    Regards

    Dan

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,454

    Re: VBA code that counts the number of entries in a textbox from a different sheet?

    Not really. The clue's in the name ... TextBox.

    You could maybe use a Worksheet Change Event handler on worksheet B that monitors the entries and updates the TextBox.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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. Replies: 6
    Last Post: 09-08-2015, 12:30 PM
  2. [SOLVED] Code that Counts number of time string occurs in a column
    By adebayo_seun in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-05-2014, 11:40 AM
  3. Replies: 4
    Last Post: 11-28-2012, 01:43 PM
  4. [SOLVED] How do I write a vba code which counts a number of loops?
    By helium in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-25-2012, 07:01 PM
  5. [SOLVED] How to create a function that counts horizontal entries
    By djh30 in forum Excel General
    Replies: 1
    Last Post: 07-16-2012, 07:46 PM
  6. run different code upon the number assigned in textbox
    By copythat in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 11-28-2011, 06:23 PM
  7. Move userform TextBox entries to cells on a sheet
    By rkjudy in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-09-2011, 10:33 AM

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