UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome to UtterAccess! Please ( Login   or   Register )

Custom Search
 
   Reply to this topicStart new topic
> Table Layout, Any Version    
 
   
DanielPineault
post Nov 25 2018, 07:03 AM
Post#1


UtterAccess VIP
Posts: 6,273
Joined: 30-June 11



I've been pulling my hair out trying to setup a simple table structure and was hoping someone here might be able to give me a better, more functional approach.

I originally was working in 2013. I have a multi-row, multi-cell table layout. I'd go to apply a bottom border on individual cells as required by my design and it would work most of the time, but for a couple cells, it wouldn't apply the border?! This seems to be a bug from what I could find online as many people seem to experience this.

So I switched to Word 2010, and was able to get my borders applied correctly. (5 minute job turned into a 3 hours job - thank you MS!)

Today, I wanted to simply move a couple rows around, which I managed to do successfully, but in the process, Word decided to help me out and resized cells?! Now I've tried in both 2010 and 2013 and can't get Word to do what I ask it to do. I select specific cells to resize and other cells throughout the table change sizes as well, which makes absolutely no sense. I've been fighting a loosing battle for a couple hours now. No word of a lie, this whole process shouldn't have taken more than 10 minutes total and I am now on hour 5!

Is there a better way to resizing a cell so the rest of the table stays intact?
Is there a version of Word that table design works properly and isn't all hooey screwy? (Oh, how I miss FrameMaker!!!)

Update:
I just tried using Word 2003 and same result, a mess!



--------------------
Daniel Pineault (2010-2018 Microsoft MVP)
Professional Help: http://www.cardaconsultants.com
Free MS Access Code, Tips, Tricks and Samples: http://www.devhut.net

* Design should never say "Look at me". It should always say "Look at this". -- David Craib
* A user interface is like a joke, if you have to explain it, it's not that good! -- Martin LeBlanc


All code samples, demonstration databases, links,... are provided 'AS IS' and are to be used at your own risk! Take the necessary steps to check, validate ...(you are responsible for your choices and actions)
Go to the top of the page
 
ADezii
post Nov 25 2018, 04:14 PM
Post#2



Posts: 2,146
Joined: 4-February 07
From: USA, Florida, Delray Beach


  1. As far as the Border issue, why not try programmatically applying the Borders? The following Macro will apply a Double Bottom Border to a Table with a width of 150 points. The two Cells for which the Border will be applied are: Row 2/Column 2 and Row 2/Column 3.
    CODE
    Dim myCells As Range

    With ActiveDocument
      Set myCells = .Range(Start:=.Tables(1).Cell(2, 2).Range.Start, _
                     End:=.Tables(1).Cell(2, 3).Range.End)
          myCells.Select
    End With

    With Selection.Borders(wdBorderBottom)
      .LineStyle = wdLineStyleDouble
      .LineWidth = wdLineWidth150pt
    End With
  2. As far as the other issue, to be honest, I am a little confused.
Go to the top of the page
 
DanielPineault
post Nov 25 2018, 06:14 PM
Post#3


UtterAccess VIP
Posts: 6,273
Joined: 30-June 11



I'll try the code option, but for normal use this just won't work going back and forth GUI to VBE...

As for item 2, what are you confused about? Modify the width of cell 1 and the width of cell 14 changes? That's literally the type of thing I am seeing in Word 2003, 2010, 2013. I'll see if I can somehow make an animated GIF to demonstrated.



--------------------
Daniel Pineault (2010-2018 Microsoft MVP)
Professional Help: http://www.cardaconsultants.com
Free MS Access Code, Tips, Tricks and Samples: http://www.devhut.net

* Design should never say "Look at me". It should always say "Look at this". -- David Craib
* A user interface is like a joke, if you have to explain it, it's not that good! -- Martin LeBlanc


All code samples, demonstration databases, links,... are provided 'AS IS' and are to be used at your own risk! Take the necessary steps to check, validate ...(you are responsible for your choices and actions)
Go to the top of the page
 
JonSmith
post Nov 26 2018, 04:05 AM
Post#4



Posts: 3,986
Joined: 19-October 10



Word has some nasty habits, I find it is appalling at tables and objects for the reasons you describe and more.
Its similar to my frustrations with Excel for guessing data types and reformatting information or losing it depending on the type of file you save.

I have found that sometimes making the table in Publisher helps as that is much more sensible and then I can copy to Word.
Go to the top of the page
 
DanielPineault
post Nov 26 2018, 04:39 AM
Post#5


UtterAccess VIP
Posts: 6,273
Joined: 30-June 11



@JonSmith - Thank you for the idea, it's worth a try.

--------------------
Daniel Pineault (2010-2018 Microsoft MVP)
Professional Help: http://www.cardaconsultants.com
Free MS Access Code, Tips, Tricks and Samples: http://www.devhut.net

* Design should never say "Look at me". It should always say "Look at this". -- David Craib
* A user interface is like a joke, if you have to explain it, it's not that good! -- Martin LeBlanc


All code samples, demonstration databases, links,... are provided 'AS IS' and are to be used at your own risk! Take the necessary steps to check, validate ...(you are responsible for your choices and actions)
Go to the top of the page
 
isladogs
post Nov 26 2018, 06:03 AM
Post#6



Posts: 779
Joined: 4-June 18
From: Somerset, UK


QUOTE
I select specific cells to resize and other cells throughout the table change sizes as well, which makes absolutely no sense.


Its another example of Word 'trying to be helpful'.
Instead of adjusting the table width to keep the other columns the same width as before, Word keeps the table width the same and adjusts the width of one or more of the other columns accordingly.
I tend to adjust the column I require different, then use distribute columns equally for the rest

In the table options try the effect of ticking/unticking automatically resize to fit contents
Go to the top of the page
 
ADezii
post Nov 28 2018, 10:55 AM
Post#7



Posts: 2,146
Joined: 4-February 07
From: USA, Florida, Delray Beach


After you modify the width of Cell 1 and the width of Cell 14 subsequently adjusts, you should be able to simply select Cell 14, the Layout Tab, and under Cell Size use the Height and Width Spinner Controls to re-establish the previous width.
Go to the top of the page
 
DanielPineault
post Nov 28 2018, 11:08 AM
Post#8


UtterAccess VIP
Posts: 6,273
Joined: 30-June 11



Sure, but then other cells change in other rows. Microsoft has serious issues with their tables. Simple tables, no problem, get into complex layouts and things simply go wild! It ends up being a never ending battle.

--------------------
Daniel Pineault (2010-2018 Microsoft MVP)
Professional Help: http://www.cardaconsultants.com
Free MS Access Code, Tips, Tricks and Samples: http://www.devhut.net

* Design should never say "Look at me". It should always say "Look at this". -- David Craib
* A user interface is like a joke, if you have to explain it, it's not that good! -- Martin LeBlanc


All code samples, demonstration databases, links,... are provided 'AS IS' and are to be used at your own risk! Take the necessary steps to check, validate ...(you are responsible for your choices and actions)
Go to the top of the page
 


Custom Search


RSSSearch   Top   Lo-Fi    12th December 2018 - 11:21 AM