#1
|
|||
|
|||
Moving Tables
There are some journals that has the requirement for the article that is going to be sent to them to have all the figures and tables at the end of the paper after bibliography. In laTeX this can be done using
Code:
\usepackage{endfloat} |
#2
|
||||
|
||||
Hi b0x4it,
Word doesn't have anything of that kind built in. However, if you work with a split window, you can cut things from the one window to paste into the other. With one window open at the end of the document, that will facilitate the moves.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
You really are clever! thank you.
But I was thinking that may be it can be done in VBA by finding a table that has a picture in one its cells and then doing cut/paste of the table at the end of the doc. So is there a code to be able to copy/paste something like a table? |
#4
|
||||
|
||||
Hi b0x4it,
Yes, it can be done with vba. Try: Code:
Sub Demo() Application.ScreenUpdating = False Dim i As Long, Rng As Range With ActiveDocument Set Rng = .Paragraphs.Last.Range With Rng If Len(.Text) > 1 Then .InsertAfter vbCr .Collapse wdCollapseEnd End If End With For i = .Tables.Count To 1 Step -1 With .Tables(i).Range If .InlineShapes.Count > 0 Then .Cut With Rng .Paste .Paragraphs.First.Previous.Range.Characters.Last.InsertBefore vbCr .Start = .Paragraphs.First.Previous.Range.Start .Collapse wdCollapseStart End With End If End With Next End With Application.ScreenUpdating = True End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
Hi Paul,
Thank you so much. It works. I really appreciate it. As far as I know this is a VBA forum that is all about coding and macros. So I do not get what exactly you mean by mentioning "free coding forum". Do I need to be charged for asking questions in a public forum? I expect you as a member of this forum to be honest and not talk to other members like this if you are replying to their threads as you kindly did for me. You can simply not reply to my questions. BTW, what is the main reason of having such forums, isn't it all about learning from each other??!! For your information, these are some of other related forums that all are about people asking for code and others are helping them with NO charge!!!: http://stackoverflow.com/questions/3...soft-word-2007 http://stackoverflow.com/questions/1...-word-document http://forums.whirlpool.net.au/archive/1036557 http://www.excelforum.com/excel-prog...using-vba.html http://www.excelforum.com/excel-prog...-thru-vba.html http://social.msdn.microsoft.com/For...-d92c7ea50144/ http://social.msdn.microsoft.com/For...e-b8dfbe6f0c0e |
#6
|
||||
|
||||
Hi b0x4it,
Many forums expect the people being helped to show they're making some effort to develop code for themselves - not simply to have other do it for them - especially if it's being used in a business context. It's good to see you're aware of these other forums - and the code they've provided. You should try looking at the code available on those forums and others and see if anything's already been developed that will suit your needs: (a) as is; or (b) with minor mods. In the latter case, you will be the one to benefit if you study the code and similar code to see how it might be modified to suit your needs. Over time, you'll become proficient at developing your own code. If you get stuck, help is only a few keystrokes away.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#7
|
|||
|
|||
I just started using word for a week or so. most of my questions are about to find out if something is possible at all or not. I was deciding to continue using Word instead of LaTeX, and that's why I compared some LaTeX features with Word and whether they are possible or not.
never mind ... |
#8
|
||||
|
||||
Hi b0x4it,
As you'll no doubt find, Word is extremely capable, but LaTeX it isn't - so getting a handle on everything it does out of the box and with customization will take some time. With all this macro-based stuff, it seems you want to dive right in at the deep end ...
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#9
|
|||
|
|||
I had to somehow make sure that it has all the capability required for what I need to prepare as report and paper. When I asked you whether something is possible or not, you could simply just give me a YES or NO as well as some hints instead of giving me the whole code and then talking to me like that.
|
#10
|
|||||||
|
|||||||
Hi b0x4it,
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] Last edited by macropod; 05-20-2011 at 02:03 AM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Moving comments | sollc | Excel | 3 | 04-13-2011 04:43 AM |
moving from one computer to the next | Billmce | Office | 0 | 04-26-2010 03:41 PM |
Moving formula range multiple cells when moving sum over one cell | FraserKitchell | Excel | 4 | 02-26-2010 10:38 AM |
Moving from Vista to Windows 7 | zyzzyva57 | Office | 0 | 12-18-2009 04:41 PM |
Moving Items | windsurfer | Outlook | 0 | 12-06-2005 06:36 AM |