View Single Post
  #5   Report Post  
Posted to microsoft.public.word.tables
Jack Jack is offline
external usenet poster
 
Posts: 9
Default Losing textbox on table

I see you have the mvp credentials. I have another question that relates to
my previous one that yu may have some insight. I have several(like 13)
tables and a separte textbox that is rectangular which is located on the
last page of the document.. What i want to do is change the text in the
box, copy that textbox and paste a copy in one of the table cells using VBA
code. I would repeat this for each of the tables.
That would help solve my manual placing it there. The reason for doing it
in code I have a number of these to place

I have tried code like:

set tbl=activedocument.tables(i)
set shp=activedocument.shapes("TemplateBox")
'Change text in box
shp.textframe.textrange.text="bbbbbb"or whatever
shp.select
selection.copy
set rng=tlb.range.cells(2).range
rng.paste


that works on the first table(although it in not quite in the proper
cell..but I can move it around). But when I do it on a subsequent table, I
get an error 4198
If you can guide me on this, I wont worry about my orginal question
Thanks
Jack


"macropod" wrote in message
...
Hi Jack,

It could still be a display driver problem. Have you checked for later
'release' drivers (i.e. not betas) for your video card?

Also, try going into the control panel and reducing the amount of hardware
acceleration.

Cheers

--
macropod
[MVP - Microsoft Word]


"Jack" wrote in message
. ..
I tried that and it didnt make any difference
Jack
"macropod" wrote in message
...
Hi Jack,

Could be a display driver problem. Have you tried scrolling up/down to

an
area that doesn't show either the table or text box, then back again,
after
moving the text box? Does that have any effect?

Cheers

--
macropod
[MVP - Microsoft Word]


"Jack" wrote in message
. ..
I have a text box on a page that has a table. The text box is above

the
table. When I drag the text box to place into a cell in the table, it
disappears. The strange thing is that when I drag it so part is off

the
table and some is on it, all of the text box displays ok. However,
dragging
further in it disappears.
I am not sure what is happening. I have other text boxes that can be
dragged into other cells and they work ok. I have the layout set to

"In
front of text"
Jack