Fumei - thanks for the offer -
What I have found is that if I select the range and then copy it the styles and formatting are retained in the split doc......as per below....Not sure why it works this way and not as above but so far so good - thanks for your help..
oSection.Range.Select...
Fumei - I have used the styles to format the text in the original Word doc. This is then split using the VBA section breaks as above (I am using a template that contains the styles.) - But the formatting is lost ie the styles applied are lost when you look at the split up documents. Can you...
Fumei
Im using a template (without the content )as per the original word doc but Im losing the formatting when the docs are split. (Styles are maintained) Here is the code...
What am I missing?
For Each oSection In ActiveDocument.Sections
strCtyTitle = ActiveDocument.Paragraphs(1)
' we...
Fumei
I am re-visiting this again! Any help would be appreciated.
The template I am using contains styles, however when the Word documents are broken into sections the new document section does not relate to the original style and point to another one.
Is there a reason for this? And how...
Here is an example of the first section....
1 THE MARKET PLACE
1.1 TOTAL MARKET SALES
• In this report sales refer to ex-manufacturer prices, unless stated otherwise.
• In 2007, the UK's total non Rx-bound market was valued at US$3.01 billion following a sales increment of 3% in local currency...
I still lose the formatting when using a template.
Bullets and Indenation are lost!!! Is ther a way round this if I use the Hyperlinsk collection? Do I need to detect the start and end range for each section and copy this range and then paste into a new word doc?......
Fumei - Thanks.
How do I do 1). If I use the splitsections code above?......
Do I need to have a Word Template and open that explicitlyrather than use Set ThatDoc = Documents.Add
Di I need to enable any settings for this template?
-----------------
1. To preserve format, use the same...
Thanks Fumei. This is usefull
The sections code is useful, but I need tomaintain thesection titles in the filenames of the extracted documents. How would i do this?.......Would i need to read the first line of the section into a variable?
I have a word Document and have Cross references that jump to different sections of the Word Document.
I would like to seperate the Word Doc into individual sections (ie by each Bookmark or Hyperlink or Section)
For example I may have 13 sections in a Word doc which are all book marked or...
Yes I would like to sort by ReportEvent ie group by
'licensing agreement'
'licensing offer'
'pc launch'
Where would I put this statement In my Template? This is exactly what Im trying to do - thx....
Im putting this within the apply temaples section but getting an error saying I cannot use...
Apols - must have got cut off at the end of the page...Here it is......
----------------------------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet
xmlns:xsl=" http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output...
Hi
I have an XSLT that transfroms some XML however I only need those records that have either the following Key attribute values, I would also like these grouped togther. Can someone help - thx. (XML /XSLT below)
Indexes/Index/ReportEvent/@Key = 'licensing agreement' ">...
I am trying to use an XSLT to get an XML syntax as shown below. (Where we have repeating Company and Nationality elements per Indes Counter)
I am using News.xml and the att files. can some one help - thanks
<EventDate>30 June 2008
<Title>ATL 1102, clinical data (phase II)
<Indication>multiple...
Hi - Does anyone know what permisions I need on the server I am depolying to with regards to a RS2005 solution?
I am trying to deploy a report from my local machine to the server but get an error msg
The permissions granted to user 'INTERNAL\aprema' are insufficient for performing this...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.