Hi, I have the following code to attempt to bold a particular paragraph, which I have selected and marked (the whole paragraph) with a bookmark: If ofrmTransmittal.CheckBox1 = True Then ActiveDocument.Bookmarks("bkpara1").Range.Font.Bold End If If you guessed that it doesn't work, you guessed correctly. I want it to be simple using objects I understand. Can anyone help me? Thank you for your time
Have you tried adding "= True" to the Bold statement? -- Greg Maxey - Word MVP My web site http://gregmaxey.mvps.org Word MVP web site http://word.mvps.org McCain/Palin '08 !!! Angie M. wrote: > Hi, > > I have the following code to attempt to bold a particular paragraph, > which I have selected and marked (the whole paragraph) with a > bookmark: > > If ofrmTransmittal.CheckBox1 = True Then > ActiveDocument.Bookmarks("bkpara1").Range.Font.Bold > End If > > If you guessed that it doesn't work, you guessed correctly. I want > it to be simple using objects I understand. Can anyone help me? > Thank you for your time
I hate it that they don't pay you guys for this. THANK YOU "Greg Maxey" wrote: > Have you tried adding "= True" to the Bold statement? > -- > Greg Maxey - Word MVP > > My web site http://gregmaxey.mvps.org > Word MVP web site http://word.mvps.org > > McCain/Palin '08 !!! > > Angie M. wrote: > > Hi, > > > > I have the following code to attempt to bold a particular paragraph, > > which I have selected and marked (the whole paragraph) with a > > bookmark: > > > > If ofrmTransmittal.CheckBox1 = True Then > > ActiveDocument.Bookmarks("bkpara1").Range.Font.Bold > > End If > > > > If you guessed that it doesn't work, you guessed correctly. I want > > it to be simple using objects I understand. Can anyone help me? > > Thank you for your time > > > > >
Yes. That would be nice ;-) -- Greg Maxey - Word MVP My web site http://gregmaxey.mvps.org Word MVP web site http://word.mvps.org McCain/Palin '08 !!! Angie M. wrote: > I hate it that they don't pay you guys for this. THANK YOU > > "Greg Maxey" wrote: > >> Have you tried adding "= True" to the Bold statement? >> -- >> Greg Maxey - Word MVP >> >> My web site http://gregmaxey.mvps.org >> Word MVP web site http://word.mvps.org >> >> McCain/Palin '08 !!! >> >> Angie M. wrote: >>> Hi, >>> >>> I have the following code to attempt to bold a particular paragraph, >>> which I have selected and marked (the whole paragraph) with a >>> bookmark: >>> >>> If ofrmTransmittal.CheckBox1 = True Then >>> ActiveDocument.Bookmarks("bkpara1").Range.Font.Bold >>> End If >>> >>> If you guessed that it doesn't work, you guessed correctly. I want >>> it to be simple using objects I understand. Can anyone help me? >>> Thank you for your time