Use VBA to add code to sheet as inserted
Results 1 to 2 of 2

Thread: Use VBA to add code to sheet as inserted
Thanks Thanks: 0 Likes Likes: 0

  1. #1
    New Member
    Join Date
    Aug 2019
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Use VBA to add code to sheet as inserted

    Hi all,

    My current sheet has a macro that uses a userform to add a new named sheet (eg. 'Coats'). Is there any code i can use in my userform module to then add some code automatically to the coats worksheet module as it is inserted?

    The code i'm looking to add to the module is
    Private Sub AddNewProduct_Click() form_AddNewProduct.Show
    End Sub

    Many thanks in advance

  2. #2
    Board Regular
    Join Date
    Apr 2019
    Posts
    79
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Use VBA to add code to sheet as inserted


Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •