+ Reply to Thread
Results 1 to 2 of 2

Restart auto-generated id count

  1. #1
    Registered User
    Join Date
    04-27-2023
    Location
    Brazil
    MS-Off Ver
    2016
    Posts
    30

    Post Restart auto-generated id count

    Good morning guys,

    I added the code below in my VBA to automatically insert the number of beats of a production every time I press the insert button.

    Now I need that every time I click the clear button this count starts again, can you help me?
    Please Login or Register  to view this content.
    Moderator's note: Please take the time to review our rules. There aren't many, and they are all important. Rule #2 requires code tags. I have added them for you this time because you are a new member. --6StringJazzer

    FORMULA??O.xlsm
    Last edited by 6StringJazzer; 04-28-2023 at 09:07 AM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,613

    Re: Restart auto-generated id count

    At the top of the FormAvancado module, add:
    Dim Reset As Boolean
    Then:
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Last edited by protonLeah; 04-28-2023 at 04:12 PM.
    Ben Van Johnson

+ 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] Restart auto cell number based on year
    By mq1973 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-10-2022, 11:29 AM
  2. [SOLVED] count and restart when condition meet
    By pedersenn in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-03-2022, 04:37 AM
  3. count, name and restart formula
    By pedersenn in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 12-23-2018, 07:36 AM
  4. Restart a Count within a Column
    By cookthebooks80 in forum Excel General
    Replies: 3
    Last Post: 07-06-2014, 11:46 AM
  5. count sessions then restart 365 days after - help
    By itsnotfair in forum Excel General
    Replies: 2
    Last Post: 06-29-2011, 09:31 AM
  6. Do spreadsheets auto save during a restart?
    By lenty in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 11-21-2009, 08:39 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