PDA

View Full Version : help to adjust my macro code



Ethen5155
04-13-2016, 03:08 PM
Hi all,

i was wondering if are there any way to copy Latin text values like (font name,size,style) to complex script values as shown below


15915

i already know that it should be in vba like

.NameBi = .Name
.SizeBi = .Size
.BoldBi = .Bold
.ItalicBi = .Italic


but i want a macro can go through each word and copy this values as i explained


Thanks in advance

gmaxey
04-13-2016, 04:11 PM
I'm sorry Ethan, whatever you have tried to explain has gotten lost in the translation. What are you trying to do exactly?

Ethen5155
04-13-2016, 04:36 PM
Dear Greg, thanks for your swift response

i was trying to say that i have a file contains some text when i select each paragraph and press Ctrl+D the Font dialog appears like shown below

then i have to change the complex scripts values which are (Arial,Regular,9) to be as same as Latin text values which are (Verdana,italic,8)

i have to select each paragraph then CTRL+D to change values as i explained so i need a macro to check this Complex values for each word or paragraph whatever it was and change it to be as same as Latin values

i hope that you got my point :D :D

btw Latin values in VBA =

.Name
.Size
.Bold
.Italic

Complex values =

.NameBi
.SizeBi
.BoldBi
.ItalicBi

15917