Jul 6, 2025
Оfftopic Community
Оfftopic Community
Forums
New posts
Search forums
What's new
Featured content
New posts
New media
New media comments
New resources
New profile posts
Latest activity
Media
New media
New comments
Search media
Resources
Latest reviews
Search resources
Members
Current visitors
New profile posts
Search profile posts
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Technology
Software & Hardware
Writing macros in word 2003?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="bob1" data-source="post: 3339962" data-attributes="member: 207591"><p>Hope some one can help with this.</p><p></p><p>I have two Dell PCs, both running Winodws XP and I have MS Word 2003 on both. So every thing is identical.</p><p>Lets refer to the PCs as A and B.</p><p></p><p>I am trying to record a simple macro that will choose paste special from the eidt menu and then paste what ever I have copied as unformatted text. I perform the same sequecen of events on both PCs. </p><p>Choose Recrod new macro from the tools menu</p><p>Click OK</p><p>Use the mouse to choose paste spectial from the edit menu</p><p>Choose unformatted text from the options available</p><p>Click stop recording.</p><p></p><p>Now here is the problem</p><p></p><p>On PC A when I run the macor it does what it is supposed to do. On PC B it does not.</p><p></p><p>When I look at the code for the macor on each PC this what I see</p><p></p><p>PC B The on that does not work</p><p></p><p> " Selection.PasteAndFormat (wdPasteDefault) "</p><p></p><p>PC A the one that works</p><p></p><p> " Selection.PasteSpecial Link:=False, DataType:=wdPasteText, Placement:= _</p><p> wdInLine, DisplayAsIcon:=False</p><p> Selection.TypeParagraph "</p><p></p><p>Can anyone please identify why on PC B the macro recording does not work properly? </p><p></p><p>Thanks for your help</p></blockquote><p></p>
[QUOTE="bob1, post: 3339962, member: 207591"] Hope some one can help with this. I have two Dell PCs, both running Winodws XP and I have MS Word 2003 on both. So every thing is identical. Lets refer to the PCs as A and B. I am trying to record a simple macro that will choose paste special from the eidt menu and then paste what ever I have copied as unformatted text. I perform the same sequecen of events on both PCs. Choose Recrod new macro from the tools menu Click OK Use the mouse to choose paste spectial from the edit menu Choose unformatted text from the options available Click stop recording. Now here is the problem On PC A when I run the macor it does what it is supposed to do. On PC B it does not. When I look at the code for the macor on each PC this what I see PC B The on that does not work " Selection.PasteAndFormat (wdPasteDefault) " PC A the one that works " Selection.PasteSpecial Link:=False, DataType:=wdPasteText, Placement:= _ wdInLine, DisplayAsIcon:=False Selection.TypeParagraph " Can anyone please identify why on PC B the macro recording does not work properly? Thanks for your help [/QUOTE]
Insert quotes…
Name
Verification
Please enable JavaScript to continue.
Loading…
Post reply
Top