+ Reply to Thread
Results 1 to 6 of 6

Why this Macro does not work?

  1. #1
    Registered User
    Join Date
    12-24-2004
    Location
    Sofia, Bulgaria
    MS-Off Ver
    MS Office 2010
    Posts
    31

    Why this Macro does not work?

    I have this macro, which creates a function, returning the name of the respective sheet,
    Please Login or Register  to view this content.
    so I created a similar one, aiming to return the filename:
    Please Login or Register  to view this content.
    But it's not working... May be it's funny, I am not very familiar with this stuff

    Please, help. Thanx.
    Last edited by romperstomper; 08-04-2010 at 11:28 AM. Reason: added code tags

  2. #2
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: Why this Macro does not work?

    Change

    Please Login or Register  to view this content.
    to

    Please Login or Register  to view this content.

  3. #3
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,446

    Re: Why this Macro does not work?

    Hi,

    try this:

    Please Login or Register  to view this content.
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  4. #4
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,329

    Re: Why this Macro does not work?

    In future, when posting code, please use code tags. I have added them for you on this occasion.
    Everyone who confuses correlation and causation ends up dead.

  5. #5
    Registered User
    Join Date
    12-24-2004
    Location
    Sofia, Bulgaria
    MS-Off Ver
    MS Office 2010
    Posts
    31

    Re: Why this Macro does not work?

    Yeah, that helped, thank you

  6. #6
    Registered User
    Join Date
    12-24-2004
    Location
    Sofia, Bulgaria
    MS-Off Ver
    MS Office 2010
    Posts
    31

    Re: Why this Macro does not work?

    Quote Originally Posted by romperstomper View Post
    In future, when posting code, please use code tags. I have added them for you on this occasion.
    Thanx, I wasn't aware of it.

+ Reply to 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