F
Francis Knight
Procedures I am required to follow in my job are often
presented on Excel Worksheets. To make it easier to follow
from a distance of a few feet, I wish to display the tasks
one-by-one on a UserForm in XL2000.
I had previously succeeded in Access, but it became too
tedious massaging and importing the source data, which could
be superceded unpredictably, so it seemed easier for the
future to operate on the primary data source.
My code and UserForm is in a separate Workbook, which I
intend to convert to an Add-In to share with my colleagues. I
have set the Controlsource of a number of TextBoxes on the
UserForm to cells on a worksheet in my own Workbook, and on
pressing a "Prev" or "Next" CommandButton, I read the
next/previous row in the source WorkBook, then copy these
values to the Controlsource cells in my own Workbook. I have
verified this happens as designed.
The problem is that the UserForm's controls do not update with
the changed values in their Controlsources. The Repaint action
has no effect, apart from a blinking effect. Am I missing
something obvious, or misunderstood the intended behaviour of
contrls linked to Controlsources? The most common application
for UserForms does seem to be data input, but the Help topics
seem to suggest the Controlsource link operates in both
directions.
Cheers,
Francis K.
presented on Excel Worksheets. To make it easier to follow
from a distance of a few feet, I wish to display the tasks
one-by-one on a UserForm in XL2000.
I had previously succeeded in Access, but it became too
tedious massaging and importing the source data, which could
be superceded unpredictably, so it seemed easier for the
future to operate on the primary data source.
My code and UserForm is in a separate Workbook, which I
intend to convert to an Add-In to share with my colleagues. I
have set the Controlsource of a number of TextBoxes on the
UserForm to cells on a worksheet in my own Workbook, and on
pressing a "Prev" or "Next" CommandButton, I read the
next/previous row in the source WorkBook, then copy these
values to the Controlsource cells in my own Workbook. I have
verified this happens as designed.
The problem is that the UserForm's controls do not update with
the changed values in their Controlsources. The Repaint action
has no effect, apart from a blinking effect. Am I missing
something obvious, or misunderstood the intended behaviour of
contrls linked to Controlsources? The most common application
for UserForms does seem to be data input, but the Help topics
seem to suggest the Controlsource link operates in both
directions.
Cheers,
Francis K.