PC Review


Reply
Thread Tools Rate Thread

copy pieces of different word doc s

 
 
lieven
Guest
Posts: n/a
 
      6th Oct 2009
Hi,

I want to run a macro from excel where certain cells can be selected wich
refer to different word documents.
Depending on the language thats selected "Dutch", "German", "English" or
"French", I would like to copy certain parts out of these word documents
into a new document.
I would bild the docs like this:

[DUTCH]
Loopgang
.....
.....
[END]
[GERMAN]
Laufsteg
.....
.....
[END]
[ENGLISH]
Walkway
.....
.....
[END]
[FRENCH]
Passerelle
.....
.....
[END]

How can I if eg the language is set to FRENCH copy the section starting at
[FRENCH] till the next [END]?

Any help is welcome.

Thanks.

Lieven


 
Reply With Quote
 
 
 
 
Patrick Molloy
Guest
Posts: n/a
 
      7th Oct 2009
this is a WORD PROGRAMMING question isn't it?
In Excel you could use SELECT CASE language
CASE "ENGLISH"
'set param
CASE "FRENCH"
'set param
CASE ....
CASE ELSE
END SELECT




"lieven" wrote:

> Hi,
>
> I want to run a macro from excel where certain cells can be selected wich
> refer to different word documents.
> Depending on the language thats selected "Dutch", "German", "English" or
> "French", I would like to copy certain parts out of these word documents
> into a new document.
> I would bild the docs like this:
>
> [DUTCH]
> Loopgang
> ....
> ....
> [END]
> [GERMAN]
> Laufsteg
> ....
> ....
> [END]
> [ENGLISH]
> Walkway
> ....
> ....
> [END]
> [FRENCH]
> Passerelle
> ....
> ....
> [END]
>
> How can I if eg the language is set to FRENCH copy the section starting at
> [FRENCH] till the next [END]?
>
> Any help is welcome.
>
> Thanks.
>
> Lieven
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel failed to copy properly HTML Table had to copy 1st to word T John Doe Microsoft Excel Crashes 1 3rd Dec 2009 07:44 AM
What .NET Pieces Do I Need? eBob.com Microsoft Dot NET Framework 1 15th Aug 2009 01:22 PM
Filler pieces Jon DIY PC 15 24th Jan 2007 01:38 AM
A few Mac pieces: R. L. Freeware 0 6th Jul 2004 01:32 AM
Word Document pieces in Access Reports print Larger than they are in word Howard Ducat Microsoft Access Reports 5 25th Mar 2004 01:27 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:16 AM.