+ Reply to Thread
Results 1 to 4 of 4

Want to make labels of varying lengths

  1. #1
    Registered User
    Join Date
    01-12-2020
    Location
    Philadelphia, PA
    MS-Off Ver
    2016
    Posts
    97

    Want to make labels of varying lengths

    Hi all!

    I want to make labels for a shelf, where the width of the labels would be "X" cells wide.

    For example, for:
    Apple, 4
    Banana, 3
    Cherry, 5

    I would have a label "APPLE" that was 4 merged cells wide, "BANANA" that is 3 merged cells wide, etc.

    The purpose of doing it this way is so that if next month I want to change Banana to 4 and Cherry to 6, I can do it easily without having to Unmerge & Merge.

    Thanks!

  2. #2
    Banned User!
    Join Date
    02-06-2020
    Location
    Iowa City, IA, USA
    MS-Off Ver
    2016 - 365 / 2007
    Posts
    2,014

    Re: Want to make labels of varying lengths

    so what is the question? are you asking how to merge cells. if that's it, you simply highlight the range of cells and push Ctrl+1 on the windows keyboard.

  3. #3
    Registered User
    Join Date
    01-12-2020
    Location
    Philadelphia, PA
    MS-Off Ver
    2016
    Posts
    97

    Re: Want to make labels of varying lengths

    No, I'm sorry.

    I want the length of the label to be as wide as the value in another cell (Let's say A1). Therefore, if I change the value of that A1, the label would automatically be adjusted to be the length of A1 cells wide.

  4. #4
    Banned User!
    Join Date
    02-06-2020
    Location
    Iowa City, IA, USA
    MS-Off Ver
    2016 - 365 / 2007
    Posts
    2,014

    Re: Want to make labels of varying lengths

    sounds like all you have to do then is merge the label cells the same way you merge the value's cells. no? you can do it with code I think, in the:
    [code]worksheet.change()
    [/cove]
    event.

    you could also do it manually I would think

+ 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] Increment a number value within a string of varying lengths
    By JimDandy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-06-2020, 03:46 PM
  2. [SOLVED] Extract all numbers from cells with varying lengths
    By Stuepef in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-04-2018, 02:47 AM
  3. [SOLVED] Concatenate with varying lengths and data
    By Unident in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-21-2013, 04:39 PM
  4. Best way to store lists of varying lengths
    By jik_ff in forum Access Tables & Databases
    Replies: 5
    Last Post: 04-17-2013, 08:54 AM
  5. Combining Data of varying lengths
    By jaj8372 in forum Excel General
    Replies: 14
    Last Post: 06-08-2010, 03:47 PM
  6. Apply Macro to varying row lengths
    By izza56 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-08-2006, 10:36 AM
  7. Fill down formula using VBA to varying column lengths
    By Lee Jeffery in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 01-28-2005, 08:40 PM

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