+ Reply to Thread
Results 1 to 2 of 2

Relative Macro to Name a cell the contents of that cell.

  1. #1
    Registered User
    Join Date
    08-27-2008
    Location
    Space
    Posts
    14

    Relative Macro to Name a cell the contents of that cell.

    Basically using the "record Macro" function with relative references on i select my first cell, hit "Define Name" and it defaults to the cell contents, then I hit Ok, move right to next column, rinse and repeat until my row is done.

    The problem is, when I go to the next row to run the macro, it won't name the cells anything. I believe it is trying to name these cells the same names as the row above it. How do I get Excel to understand that I want the cells named by their contents?

    Thanks!

    Here is the Code the record macro function produced. I'm not Microsoft Visual Basic proficient, please help!

    Please Login or Register  to view this content.

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

    Re: Relative Macro to Name a cell the contents of that cell.

    Please Login or Register  to view this content.
    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)

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