Closed Thread
Results 1 to 2 of 2

Excel 2007 : Macro disabled with sharing

  1. #1
    Registered User
    Join Date
    11-04-2011
    Location
    Rotterdam, Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    15

    Macro disabled with sharing

    Hi,
    I have a few Macros running in an Excel sheet. They all work when I share the workbook, except one! The Macro that does not work is as under:

    Private Sub Worksheet_SelectionChange( _
    ByVal Target As Range)

    With ThisWorkbook.Names("ActiveRow")
    .Name = "ActiveRow"
    .RefersToR1C1 = "=" & ActiveCell.Row
    End With

    Application.EnableEvents = True

    End Sub

    I have other Macros that work perfectly fine when shared, except this one

    Any help would be much appreciated!!

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Macro disabled with sharing

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here

Closed Thread

Thread Information

Users Browsing this Thread

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

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