Consulting

Results 1 to 11 of 11

Thread: lines in a cell or dropdown to next cell

  1. #1

    lines in a cell or dropdown to next cell

    Hi all,
    I need to have a cell with ruled lines so to speak in it, so when people type in a cell the lines are the same spacing as text or is it posible to have text automatically dropdown to next cell with out warping?
    Tried placing lines in the cell but when person clicks in the cell they may click the line. Cell backgrounds have lines but spacing is too narrow.

  2. #2
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Can you make up and post an image of what you are after?
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  3. #3
    Attachment 2212Hi this is the sort of thing I am trying to do with A6

  4. #4
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    As far as I know you can't do that. Why can't you do multiple lines? If it's a matter of showing the lines, you can toggle the grid lines. Or if you want to copy all the data to a single cell you could do that too. Not sure what the end-goal is here.

  5. #5
    HI Zack,
    The picture shows what I need, I was asked to create a form that people could fill in and boss wants it the same as a paper version including lines. Also have a similar problem doing it in Word. I may just have to tell boss it can't be done.

  6. #6
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    Well you can, just use multiple rows. That would look just like it would on paper. Or use drawing lines (yuck, can't believe I'm saying this...) and protect the worksheet not allowing users to select objects.

  7. #7
    Thanks Zack,
    The problem with multiple rows is expecting someone to move to the next row down once the current row is full, dont know if it is possible however have vba say once row is full go down automatically to the next row.
    Protecting sheet? At some stage would like to add a calander for them to select date. Not allowing user to select objects then may become a problem. Did try that though may have done it wrong however could still select lines.

  8. #8
    Moderator VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    What about a textbox with the transparancy set to 100%?
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  9. #9
    Thanks Lucas,
    That seems to do it.

  10. #10
    Administrator
    VP-Knowledge Base VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Quote Originally Posted by lucas
    What about a textbox with the transparancy set to 100%?
    A very neat solution Steve.
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  11. #11
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    If that solves it for you, can you mark your thread as Solved?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •