Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Khoshravan
 
Posts: n/a
Default How to write Macro in Word?

I have a repetitive task on each title. I think it is better to write a Macro
for it and perform the macro over each title.
I have the Excel experience and I thought by selecting Macro, I will perform
steps inside word and word will automatically record them in Macro in
background. Apparently this excel procedure does not apply to word. Is there
any way to activate this procedure for Word as well? Otherwise it will be
very difficult for me to write the Macro from scratch in Word.Word 2003 SP2
--
Rasoul Khoshravan Azar
Civil Engineer, Osaka, Japan
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor
 
Posts: n/a
Default How to write Macro in Word?

Tools Macro Record New Macro will activate the macro recorder, but not
all functions are recordable. What is it that you wish to achieve?

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Khoshravan wrote:
I have a repetitive task on each title. I think it is better to write
a Macro for it and perform the macro over each title.
I have the Excel experience and I thought by selecting Macro, I will
perform steps inside word and word will automatically record them in
Macro in background. Apparently this excel procedure does not apply
to word. Is there any way to activate this procedure for Word as
well? Otherwise it will be very difficult for me to write the Macro
from scratch in Word.Word 2003 SP2



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Khoshravan
 
Posts: n/a
Default How to write Macro in Word?

I want to do:
Alt o-p, remove a tik mark (Adjust characters to grid line when number of
lines are fixed in one page)
change the space for after paragraph to 0.5
closes the window.

I have many titles, which I want to apply above changes. So the ideal is
that I put curser in target line and hit the short cut key for my Macro and
it performs those two changes.
--
Rasoul Khoshravan Azar
Civil Engineer, Osaka, Japan


"Graham Mayor" wrote:

Tools Macro Record New Macro will activate the macro recorder, but not
all functions are recordable. What is it that you wish to achieve?

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Khoshravan wrote:
I have a repetitive task on each title. I think it is better to write
a Macro for it and perform the macro over each title.
I have the Excel experience and I thought by selecting Macro, I will
perform steps inside word and word will automatically record them in
Macro in background. Apparently this excel procedure does not apply
to word. Is there any way to activate this procedure for Word as
well? Otherwise it will be very difficult for me to write the Macro
from scratch in Word.Word 2003 SP2




  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor
 
Posts: n/a
Default How to write Macro in Word?

This sounds like changes to Japanese script which I cannot help you with,
however, couldn't you just create a paragraph style with the layout you
require and apply it as required?

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Khoshravan wrote:
I want to do:
Alt o-p, remove a tik mark (Adjust characters to grid line when
number of lines are fixed in one page)
change the space for after paragraph to 0.5
closes the window.

I have many titles, which I want to apply above changes. So the ideal
is that I put curser in target line and hit the short cut key for my
Macro and it performs those two changes.

Tools Macro Record New Macro will activate the macro recorder,
but not all functions are recordable. What is it that you wish to
achieve?

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Khoshravan wrote:
I have a repetitive task on each title. I think it is better to
write a Macro for it and perform the macro over each title.
I have the Excel experience and I thought by selecting Macro, I will
perform steps inside word and word will automatically record them in
Macro in background. Apparently this excel procedure does not apply
to word. Is there any way to activate this procedure for Word as
well? Otherwise it will be very difficult for me to write the Macro
from scratch in Word.Word 2003 SP2



  #5   Report Post  
Posted to microsoft.public.word.docmanagement
Khoshravan
 
Posts: n/a
Default How to write Macro in Word?

How do you know that I am working with Japanese scripts? Are that command
specially for Japanese scripts?
Yes you are right. I can define a style and apply. I wanted to learn VBA as
well. For VBA, I read Bill Coan article whish sounds simple and stright
forward but I don't know how to apply in diffenet locations (paragraphs)
--
Rasoul Khoshravan Azar
Civil Engineer, Osaka, Japan


"Graham Mayor" wrote:

This sounds like changes to Japanese script which I cannot help you with,
however, couldn't you just create a paragraph style with the layout you
require and apply it as required?

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Khoshravan wrote:
I want to do:
Alt o-p, remove a tik mark (Adjust characters to grid line when
number of lines are fixed in one page)
change the space for after paragraph to 0.5
closes the window.

I have many titles, which I want to apply above changes. So the ideal
is that I put curser in target line and hit the short cut key for my
Macro and it performs those two changes.

Tools Macro Record New Macro will activate the macro recorder,
but not all functions are recordable. What is it that you wish to
achieve?

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Khoshravan wrote:
I have a repetitive task on each title. I think it is better to
write a Macro for it and perform the macro over each title.
I have the Excel experience and I thought by selecting Macro, I will
perform steps inside word and word will automatically record them in
Macro in background. Apparently this excel procedure does not apply
to word. Is there any way to activate this procedure for Word as
well? Otherwise it will be very difficult for me to write the Macro
from scratch in Word.Word 2003 SP2






  #6   Report Post  
Posted to microsoft.public.word.docmanagement
Robert M. Franz (RMF)
 
Posts: n/a
Default How to write Macro in Word?

Hi Koshravan

Khoshravan wrote:
How do you know that I am working with Japanese scripts? Are that command
specially for Japanese scripts?


The "Adjust characters to grid line" is not something I've seen before,
I would've guessed some Asian language.


Yes you are right. I can define a style and apply. I wanted to learn VBA as
well. For VBA, I read Bill Coan article whish sounds simple and stright
forward but I don't know how to apply in diffenet locations (paragraphs)


If you intend to "walk" through the document manually and apply the
formatting, then a style seems really called for. You can then assign a
keyboard shortcut to it and no macro is needed.

If you can identify all paragraphs that are "headings" somewhat
formally, then you can use Find | Replace to search for them and apply
the style. You may or may not use a macro for that, too.

HTH
Robert
--
/"\ ASCII Ribbon Campaign | MS
\ / | MVP
X Against HTML | for
/ \ in e-mail & news | Word
  #7   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor
 
Posts: n/a
Default How to write Macro in Word?

Khoshravan wrote:
How do you know that I am working with Japanese scripts? Are that
command specially for Japanese scripts?


The fact that you are an engineer from Osaka was a clue - as was adjusting
characters to grid line

Yes you are right. I can define a style and apply. I wanted to learn
VBA as well. For VBA, I read Bill Coan article whish sounds simple
and stright forward but I don't know how to apply in diffenet
locations (paragraphs)


You dont really need a macro to apply a style - assign a keyboard shortcut
to the style. Put your cusror in the paragraph and hit the keyboard
shortcut. If you want to apply a style by macro (and correct for any manual
formatting) then you could use the following code:

Selection.Style = ActiveDocument.Styles("Heading 1")
Selection.Font.Reset

Select the text and run the macro:

See http://www.gmayor.com/installing_macro.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



This sounds like changes to Japanese script which I cannot help you
with, however, couldn't you just create a paragraph style with the
layout you require and apply it as required?

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Khoshravan wrote:
I want to do:
Alt o-p, remove a tik mark (Adjust characters to grid line when
number of lines are fixed in one page)
change the space for after paragraph to 0.5
closes the window.

I have many titles, which I want to apply above changes. So the
ideal is that I put curser in target line and hit the short cut key
for my Macro and it performs those two changes.

Tools Macro Record New Macro will activate the macro recorder,
but not all functions are recordable. What is it that you wish to
achieve?

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Khoshravan wrote:
I have a repetitive task on each title. I think it is better to
write a Macro for it and perform the macro over each title.
I have the Excel experience and I thought by selecting Macro, I
will perform steps inside word and word will automatically record
them in Macro in background. Apparently this excel procedure does
not apply to word. Is there any way to activate this procedure
for Word as well? Otherwise it will be very difficult for me to
write the Macro from scratch in Word.Word 2003 SP2



  #8   Report Post  
Posted to microsoft.public.word.docmanagement
 
Posts: n/a
Default How to write Macro in Word?

You can try this EnergyKey
http://www30.webSamba.com/SmartStudio
This may be help you.
Now I always use EnergyKey, it helps me so much in my work.

  #9   Report Post  
Posted to microsoft.public.word.docmanagement
Charles Kenyon
 
Posts: n/a
Default How to write Macro in Word?

Why not create and apply a style?
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!

My criminal defense site: http://addbalance.com
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.


"Khoshravan" wrote in message
...
I want to do:
Alt o-p, remove a tik mark (Adjust characters to grid line when number of
lines are fixed in one page)
change the space for after paragraph to 0.5
closes the window.

I have many titles, which I want to apply above changes. So the ideal is
that I put curser in target line and hit the short cut key for my Macro
and
it performs those two changes.
--
Rasoul Khoshravan Azar
Civil Engineer, Osaka, Japan


"Graham Mayor" wrote:

Tools Macro Record New Macro will activate the macro recorder, but
not
all functions are recordable. What is it that you wish to achieve?

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Khoshravan wrote:
I have a repetitive task on each title. I think it is better to write
a Macro for it and perform the macro over each title.
I have the Excel experience and I thought by selecting Macro, I will
perform steps inside word and word will automatically record them in
Macro in background. Apparently this excel procedure does not apply
to word. Is there any way to activate this procedure for Word as
well? Otherwise it will be very difficult for me to write the Macro
from scratch in Word.Word 2003 SP2






  #10   Report Post  
Posted to microsoft.public.word.docmanagement
 
Posts: n/a
Default How to write Macro in Word?

You can try this EnergyKey
http://www30.webSamba.com/SmartStudio
This may be help you.
Now I always use EnergyKey, it helps me so much in my work.



  #11   Report Post  
Posted to microsoft.public.word.docmanagement
Khoshravan
 
Posts: n/a
Default How to write Macro in Word?

Could you please explain in brief what does EnergyKey do?
--
Rasoul Khoshravan Azar
Civil Engineer, Osaka, Japan


" wrote:

You can try this EnergyKey
http://www30.webSamba.com/SmartStudio
This may be help you.
Now I always use EnergyKey, it helps me so much in my work.


  #12   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor
 
Posts: n/a
Default How to write Macro in Word?

Don't encourage spammers!


  #13   Report Post  
Posted to microsoft.public.word.docmanagement
Khoshravan
 
Posts: n/a
Default How to write Macro in Word?

Does this sort of questions encourages spammer's?
I didn't know that.
I just wanted to know the meaning "EnergyKey"
Will be happy if you could explain more
--
Rasoul Khoshravan Azar
Civil Engineer, Osaka, Japan


"Graham Mayor" wrote:

Don't encourage spammers!



  #14   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor
 
Posts: n/a
Default How to write Macro in Word?

If you are that interested look at the link this clown posts.


  #15   Report Post  
Posted to microsoft.public.word.docmanagement
Khoshravan
 
Posts: n/a
Default How to write Macro in Word?

I downloaded it. A number "1" is beside its icon in sys tray in blue color.
How long can I use the trial version?
--
Rasoul Khoshravan Azar
Civil Engineer, Osaka, Japan


"Graham Mayor" wrote:

If you are that interested look at the link this clown posts.





  #16   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill
 
Posts: n/a
Default How to write Macro in Word?

You still are not getting it, are you? Did you not notice that this same
person had posted this same answer to dozens of different unrelated posts?
What you downloaded was very likely some sort of malware, and you'll get no
help on its use here because we wouldn't be crazy enough to try it. If there
are no instructions at the place where you downloaded it, you'd just SOL.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Khoshravan" wrote in message
...
I downloaded it. A number "1" is beside its icon in sys tray in blue

color.
How long can I use the trial version?
--
Rasoul Khoshravan Azar
Civil Engineer, Osaka, Japan


"Graham Mayor" wrote:

If you are that interested look at the link this clown posts.




  #17   Report Post  
Posted to microsoft.public.word.docmanagement
Khoshravan
 
Posts: n/a
Default How to write Macro in Word?

Do you think what I downloaded has virus?
What should I do now?
Is un-installing the software is enough?
Please guide. I am really frustrated.
--
Rasoul Khoshravan Azar
Civil Engineer, Osaka, Japan


"Suzanne S. Barnhill" wrote:

You still are not getting it, are you? Did you not notice that this same
person had posted this same answer to dozens of different unrelated posts?
What you downloaded was very likely some sort of malware, and you'll get no
help on its use here because we wouldn't be crazy enough to try it. If there
are no instructions at the place where you downloaded it, you'd just SOL.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Khoshravan" wrote in message
...
I downloaded it. A number "1" is beside its icon in sys tray in blue

color.
How long can I use the trial version?
--
Rasoul Khoshravan Azar
Civil Engineer, Osaka, Japan


"Graham Mayor" wrote:

If you are that interested look at the link this clown posts.





  #18   Report Post  
Posted to microsoft.public.word.docmanagement
Khoshravan
 
Posts: n/a
Default How to write Macro in Word?

Dear Suzanne

Thanks for your kind concern and reply. Otherwise I would never find out the
fact. Your contribution is highly appreciated. I owe a lot to your solutions,
comments and help. Also I learned a lot from Graham as well.
--
Rasoul Khoshravan Azar
Civil Engineer, Osaka, Japan


"Suzanne S. Barnhill" wrote:

You still are not getting it, are you? Did you not notice that this same
person had posted this same answer to dozens of different unrelated posts?
What you downloaded was very likely some sort of malware, and you'll get no
help on its use here because we wouldn't be crazy enough to try it. If there
are no instructions at the place where you downloaded it, you'd just SOL.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Khoshravan" wrote in message
...
I downloaded it. A number "1" is beside its icon in sys tray in blue

color.
How long can I use the trial version?
--
Rasoul Khoshravan Azar
Civil Engineer, Osaka, Japan


"Graham Mayor" wrote:

If you are that interested look at the link this clown posts.





  #19   Report Post  
Posted to microsoft.public.word.docmanagement
Khoshravan
 
Posts: n/a
Default How to write Macro in Word?

Dear Suzanne

Could you please kindly write what is the meaning of "SOL" abbrevation at
the end of your reply?
I haven't seen this abbrevation before.
--
Rasoul Khoshravan Azar
Civil Engineer, Osaka, Japan


"Suzanne S. Barnhill" wrote:

You still are not getting it, are you? Did you not notice that this same
person had posted this same answer to dozens of different unrelated posts?
What you downloaded was very likely some sort of malware, and you'll get no
help on its use here because we wouldn't be crazy enough to try it. If there
are no instructions at the place where you downloaded it, you'd just SOL.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Khoshravan" wrote in message
...
I downloaded it. A number "1" is beside its icon in sys tray in blue

color.
How long can I use the trial version?
--
Rasoul Khoshravan Azar
Civil Engineer, Osaka, Japan


"Graham Mayor" wrote:

If you are that interested look at the link this clown posts.





  #20   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill
 
Posts: n/a
Default How to write Macro in Word?

Well, you could expand it as "sorely out of luck." That would be more
polite. In truth, it stands for "sh*t out of luck."

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Khoshravan" wrote in message
...
Dear Suzanne

Could you please kindly write what is the meaning of "SOL" abbrevation at
the end of your reply?
I haven't seen this abbrevation before.
--
Rasoul Khoshravan Azar
Civil Engineer, Osaka, Japan


"Suzanne S. Barnhill" wrote:

You still are not getting it, are you? Did you not notice that this same
person had posted this same answer to dozens of different unrelated

posts?
What you downloaded was very likely some sort of malware, and you'll get

no
help on its use here because we wouldn't be crazy enough to try it. If

there
are no instructions at the place where you downloaded it, you'd just

SOL.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup so
all may benefit.

"Khoshravan" wrote in message
...
I downloaded it. A number "1" is beside its icon in sys tray in blue

color.
How long can I use the trial version?
--
Rasoul Khoshravan Azar
Civil Engineer, Osaka, Japan


"Graham Mayor" wrote:

If you are that interested look at the link this clown posts.








  #21   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor
 
Posts: n/a
Default How to write Macro in Word?

You need to be very careful about downloading stuff from internet spammers.
It may or may not contain a virus or spyware. I don't know because there is
no way on earth that I would access such rubbish. Hopefully you are running
with up to date anti-virus protection (if not do so NOW!!!) which should
have picked up any viral contribution from the software, but some Word
macros can be malicious in effrect without being a virus, so until you know
what you are doing and what this software really is, consider it harmful and
avoid like the plague!


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Khoshravan wrote:
Do you think what I downloaded has virus?
What should I do now?
Is un-installing the software is enough?
Please guide. I am really frustrated.

You still are not getting it, are you? Did you not notice that this
same person had posted this same answer to dozens of different
unrelated posts? What you downloaded was very likely some sort of
malware, and you'll get no help on its use here because we wouldn't
be crazy enough to try it. If there are no instructions at the place
where you downloaded it, you'd just SOL.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.

"Khoshravan" wrote in message
...
I downloaded it. A number "1" is beside its icon in sys tray in
blue color. How long can I use the trial version?
--
Rasoul Khoshravan Azar
Civil Engineer, Osaka, Japan


"Graham Mayor" wrote:

If you are that interested look at the link this clown posts.



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting WordPerfect 12 files to Word 2003 Curious New Users 4 May 19th 23 02:48 PM
Reveal codes in a word document FUN101 Microsoft Word Help 4 May 16th 23 08:47 PM
Macro for Letter Settings Help Renee Cabets New Users 7 May 25th 06 10:50 PM
How can Word display full path of a file in the title bar? SAsif Microsoft Word Help 1 January 26th 06 04:32 PM
Macros - Keyboard Commands Janet Microsoft Word Help 6 April 11th 05 05:28 AM


All times are GMT +1. The time now is 07:40 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"