Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-15-2012, 05:55 AM
Charles Kenyon Charles Kenyon is offline Formatting with macros Windows Vista Formatting with macros Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,533
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Quote:
Originally Posted by WaltR View Post
The only way I know to make macros is to record them through the Developer tab, so I wouldn't know how to do it from just the code, at this point anyway. I've got a book with a couple of chapters on writing macros in Word so I might check it out.

One of the best ways I've found to learn vba is to look at code written by a very good programmer and try stepping through it to see what it does.
The code put together by the macro recorder can be a start but it is never well written. Many functions in Word cannot be captured by the recorder.

In case you haven't guessed, Paul is a very good programmer.



A very good book IMHO is
Writing Word Macros by Steve Roman, from O'Reilly even though I think it was written for Word 2000.

As far a s time goes, if you need macros to do your work, try investing an hour a week in learning. It will repay you very quickly.


Last edited by Charles Kenyon; 05-15-2012 at 05:57 AM. Reason: clean up formatting
Reply With Quote
  #2  
Old 05-15-2012, 06:28 PM
macropod's Avatar
macropod macropod is offline Formatting with macros Windows 7 64bit Formatting with macros Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by Charles Kenyon View Post
In case you haven't guessed, Paul is a very good programmer.
Competent, may be, but I wouldn't say 'very good'.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting with macros VBA macros tays01s Word VBA 6 08-03-2011 09:42 PM
Macros Steveg Word VBA 0 08-18-2010 04:04 PM
Formatting with macros Macros Desertwrangler Word VBA 6 06-25-2010 07:06 AM
macros trancetheory Outlook 0 05-11-2010 09:31 AM
Formatting with macros Macros krdzal Excel 1 04-06-2010 07:43 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:14 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft