Napoleonic Wargame Club (NWC)

The Rhine Tavern

*   NWC   NWC Staff   NWC Rules   NWC (DoR) Records   About Us   Send Email Inquiry to NWC

*   La Grande Armée Quartier Général    La Grande Armée Officer Records    Join La Grande Armée

*   Allied Coalition   Allied Officers   Join Coalition

*   Coalition Armies:   Austro-Prussian-Swedish Army   Anglo Allied Army (AAA)   Imperial Russian Army

 

Forums:    ACWGC    CCC     Home:    ACWGC    CCC
It is currently Fri Mar 29, 2024 5:25 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Thu Feb 10, 2005 9:23 am 
Offline

Joined: Sat Feb 01, 2003 7:33 am
Posts: 312
Location: United Kingdom
Would anyone happen to know anything about macros? I want to reorganise the Guards pages on my website, unfortunately doing so means ammending the menu links - which are on every page on the site (60+). I figured the quickest way would be to write a macro in Word but I'm struggling with it. I was thinking along the lines of using the 'Find' and 'Replace' commands - is this feasible and if so is there a way to get the macro to cruise through an entire directory?

Thanks in advance. [:)]


<font color="orange">Majoor Peter Robinson
[url="http://www.dutchcorps.com"]Koninklijke Militaire Academie[/url] Adjutant
C.O. Divisie Nederlandsche Kavallerie
3rd (Prince of Wales's) Dragoon Guards</font id="orange">


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Feb 10, 2005 10:38 am 
That's why I use templates when I write a new website. Sorry, I know this is no help now, but maybe for the future ...

Général de Division D.S. "Green Horse" Walter
Commandant [url="http://home.arcor.de/dierk_Walter/NWC/3_VI_AdR_Home.htm"]3ème Division[/url], VIème Corps Bavarois, L'Armée du Rhin


Top
  
Reply with quote  
 Post subject:
PostPosted: Thu Feb 10, 2005 2:16 pm 
Offline

Joined: Tue May 22, 2001 7:49 pm
Posts: 451
Location: USA
Templates yes, have a common "navigation section" of links that are used on every page. That way you have that framework in place and the only thing that changes is the base data. If you aren't doing that now, it would be worth doing it sooner rather than later.

Gen.de Div. Hamilton, 21st Division, VII Corps, ADR


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Feb 11, 2005 1:46 am 
Pete,

One day or the other, you will need to create templates as Rich and Dierk suggested.

In the meantime, I can tell you that macros are really easy to set if you have <u>some</u> sense of programming. The easyest way is to record a macro that 'approximately' does what you need (such as "Find and replace") and then use the Visual Basic Editor (alt-F8, edit) to customize the way it performs the task; it is pretty intuitive. If you need any more help just PM me, I'll see what I can do.

Regards,

[url="mailto:pyguinard@hotmail.com"]Lt Pierre-Yves Guinard[/url],
6e Division, II Corp
Image
AdN


Top
  
Reply with quote  
 Post subject:
PostPosted: Fri Feb 11, 2005 8:44 am 
Offline

Joined: Sat Feb 01, 2003 7:33 am
Posts: 312
Location: United Kingdom
Thanks <i>very</i> much for the help. I guess it'd be better to just do the template rather than a macro and a template. I'll do a search and see what I can learn... though I'll probably be back here asking dopey questions. [;)]

<font color="orange">Majoor Peter Robinson
[url="http://www.dutchcorps.com"]Koninklijke Militaire Academie[/url] Adjutant
C.O. Divisie Nederlandsche Kavallerie
3rd (Prince of Wales's) Dragoon Guards</font id="orange">


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 40 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
POWERED_BY
Localized by Maël Soucaze © 2010 phpBB.fr