+ Reply to Thread
Results 1 to 5 of 5

What is the abbreviation for defined names in Excel, for Tables we are using tbl_

  1. #1
    Forum Contributor daliye's Avatar
    Join Date
    05-28-2023
    Location
    North Africa
    MS-Off Ver
    microsoft excel, latest 365, 64-bit!
    Posts
    259

    What is the abbreviation for defined names in Excel, for Tables we are using tbl_

    Hi,
    What is the abbreviation for defined names in Excel, for Tables users used to use tbl_ like tbl_user?
    What is the abbreviation we start the defined name with for defined names?
    I do understand that it is not mandatory, but just to organize things.
    Shall I use dfn_ or nme_
    What are the abbreviations most users used to use? Or at least known for most users?
    Last edited by daliye; 12-24-2023 at 08:01 AM.
    thnx!
    d!
    microsoft excel, latest 365, 64-bit!

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: What is the abbreviation for defined names in Excel, for Tables we are using tbl_

    There really is no rule for this, other than the name cannot start with a number, contain special characters or include spaces.
    In VBA it all comes down to personal preference.

    Personally I like to use a DNR prefix for a dynamic named range and NR for s static named range.

    Just make sure it makes sense to you now and that you'll still understand what it means when you revisit the code 6 months later.

    BSB

  3. #3
    Forum Contributor daliye's Avatar
    Join Date
    05-28-2023
    Location
    North Africa
    MS-Off Ver
    microsoft excel, latest 365, 64-bit!
    Posts
    259

    Re: What is the abbreviation for defined names in Excel, for Tables we are using tbl_

    Thanks a lot @BadlySpelledBuoy

  4. #4
    Valued Forum Contributor
    Join Date
    08-31-2007
    Location
    SW Ireland
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2311 Build 16.0.17029.20068) 32-bit
    Posts
    523

    Re: What is the abbreviation for defined names in Excel, for Tables we are using tbl_

    For defined names which hold TRUE/FALSE values, I use the prefix bln (example: blnTaxExempt). For most other names, I use rng as the prefix (example: rngLowTaxRate). There realy isn't a hard and fast rule as BadlySpelledBuoy says.
    Excel 365 user. To unblock a downloaded macro-enabled workbook, go to your "Downloads" folder > right click on the workbook name > click 'Properties' > check the 'Unblock' checkbox. You can now open the workbook.

  5. #5
    Forum Contributor daliye's Avatar
    Join Date
    05-28-2023
    Location
    North Africa
    MS-Off Ver
    microsoft excel, latest 365, 64-bit!
    Posts
    259

    Re: What is the abbreviation for defined names in Excel, for Tables we are using tbl_

    Thanks a lot @deadlyduck

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] "Excel 4.0 function stored in defined names": No functions in defined names
    By Andrew-Mark in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-13-2022, 11:35 AM
  2. Defined names removing themselves from excel online
    By SophieS84 in forum Excel General
    Replies: 0
    Last Post: 09-07-2020, 10:34 AM
  3. [SOLVED] Deleting Excel Defined Names
    By diannal82 in forum Excel General
    Replies: 4
    Last Post: 09-01-2015, 04:59 PM
  4. Replies: 1
    Last Post: 05-14-2012, 10:14 AM
  5. Excel defined names
    By obrien2003 in forum Excel General
    Replies: 4
    Last Post: 04-10-2008, 02:07 PM
  6. Print all defined names and references in Excel
    By l4ya in forum Excel General
    Replies: 1
    Last Post: 03-27-2008, 12:30 PM
  7. [SOLVED] Tranferring names defined in one excel workbook to another workboo
    By Dinesh in forum Excel General
    Replies: 1
    Last Post: 07-01-2006, 12:40 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