Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-12-2019, 10:36 AM
sts023 sts023 is offline Problems formatting a Word 2010 table using VBA Windows 7 64bit Problems formatting a Word 2010 table using VBA Office 2010
Hopeless Idiot
Problems formatting a Word 2010 table using VBA
 
Join Date: Apr 2019
Location: God's Own County
Posts: 26
sts023 is on a distinguished road
Default


OK, I realise that - the issue is that I'm doing what works when the macro recorder is used, but it doesn't work when transferred to vba. I'm trying to find VBA to do what the macro recorder does when it is used to record my actions.
Reply With Quote
  #2  
Old 05-12-2019, 11:05 AM
eduzs eduzs is offline Problems formatting a Word 2010 table using VBA Windows 10 Problems formatting a Word 2010 table using VBA Office 2010 32bit
Expert
 
Join Date: May 2017
Posts: 266
eduzs is on a distinguished road
Default

macro recorder is not a good option to complex coding. It's better to code directly what you want word to do.
Quote:
Originally Posted by sts023 View Post
OK, I realise that - the issue is that I'm doing what works when the macro recorder is used, but it doesn't work when transferred to vba. I'm trying to find VBA to do what the macro recorder does when it is used to record my actions.

Last edited by eduzs; 05-12-2019 at 05:21 PM.
Reply With Quote
  #3  
Old 05-12-2019, 11:21 AM
sts023 sts023 is offline Problems formatting a Word 2010 table using VBA Windows 7 64bit Problems formatting a Word 2010 table using VBA Office 2010
Hopeless Idiot
Problems formatting a Word 2010 table using VBA
 
Join Date: Apr 2019
Location: God's Own County
Posts: 26
sts023 is on a distinguished road
Default

Thats the problem - without the recorder I'm not well enough versed in Word VBA to know what the "native" commands are.
If it were Excel I could probably make a better attempt, but it ain't, so I can't!
Any ideas?
Reply With Quote
  #4  
Old 05-12-2019, 12:37 PM
Charles Kenyon Charles Kenyon is offline Problems formatting a Word 2010 table using VBA Windows 10 Problems formatting a Word 2010 table using VBA Office 2016
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,584
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 sts023 View Post
Thats the problem - without the recorder I'm not well enough versed in Word VBA to know what the "native" commands are.
If it were Excel I could probably make a better attempt, but it ain't, so I can't!
Any ideas?

An idea: set the size to 15 points, instead.
The macro recorder has always been a crutch. Sometimes it works and it can give you ideas.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Does sending a W10 Word 2016 template to someone with a W7 Word 2010 system cause problems? dianahbr Word 4 03-06-2018 02:27 PM
Word 2011 for Mac - problems with table of contents tepose Word 1 09-28-2014 03:36 PM
Problems formatting a Word 2010 table using VBA Many Corruption Problems Word 2010 sleake Word 2 07-25-2013 07:20 PM
Copy & paste problems Word 2010 pjm333 Word 2 02-13-2013 04:52 AM
Problems formatting a Word 2010 table using VBA Spacing problems with word 2010 Microsoftenquirer1000 Word 5 06-25-2012 12:01 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:36 AM.


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