Results 1 to 12 of 12

VBA not working

Threaded View

  1. #1
    Forum Contributor
    Join Date
    10-22-2014
    Location
    Ontario
    MS-Off Ver
    365
    Posts
    222

    VBA not working

    My goal is to have the first page set as a template which would be applied to any additional sheets added to the book.
    So far I tried to set a code to name the Sheet after A5. This is the code I found online. It was working at the start but not now. I could use a bit of assistance. Thanks. Peter

    Private Sub Worksheet_Change(ByVal Target As Range)
        If Not Intersect(Target, Range("A5")) Is Nothing Then
            ActiveSheet.Name = ActiveSheet.Range("A5")
        End If
    End Sub
    Attached Files Attached Files
    Last edited by jeffreybrown; 11-08-2018 at 02:56 PM. Reason: Added code tags!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 08-30-2017, 02:32 AM
  2. Replies: 1
    Last Post: 02-27-2016, 06:28 PM
  3. Replies: 3
    Last Post: 05-14-2015, 07:32 AM
  4. Correct/Working (Index,Match) formula not working between cells
    By barnerd in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 02-11-2014, 01:20 PM
  5. Replies: 4
    Last Post: 09-03-2013, 02:52 AM
  6. Replies: 9
    Last Post: 03-08-2013, 11:50 AM
  7. Replies: 2
    Last Post: 08-17-2012, 08:16 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