C
coach_mikey
Hi gurus.
I have a vb application that opens a word document (within a framer
control). Then, using vba, I have code that lets the user add objects
(e.g. buttons) to the document. Each time an object is added to the
word document via vba, I need to execute a command that refreshes a
listbox (outside the vba app, but within the overall vb app) by adding
information about the added object to the list of objects. I have the
vba code writing to a database, and I have the vb list pulling data
from the database, so all I need to really do is refresh the list
control in the open vb project from within the nested vba code.
Does anyone know how/if this can be done?
I have tried: prjMain.frmAddComment.lstComments.refresh with no
success.
Thanks for any thoughts/ideas.
Mike
I have a vb application that opens a word document (within a framer
control). Then, using vba, I have code that lets the user add objects
(e.g. buttons) to the document. Each time an object is added to the
word document via vba, I need to execute a command that refreshes a
listbox (outside the vba app, but within the overall vb app) by adding
information about the added object to the list of objects. I have the
vba code writing to a database, and I have the vb list pulling data
from the database, so all I need to really do is refresh the list
control in the open vb project from within the nested vba code.
Does anyone know how/if this can be done?
I have tried: prjMain.frmAddComment.lstComments.refresh with no
success.
Thanks for any thoughts/ideas.
Mike