You probably have code in your sheet module that causes the pop up. It was
most likely put there for a reason by someone who designed the workbook. You
can get rid of the pop up by deleting the code, but I would check with the
author first.
> I have a Userform that pops up when a cell is selected. Is there a way to
> have the Userform NOT pop up if the cell is selected with code that reformats
> that particular cell?
I designed the workbook, and yes I do have code in the sheet module that
causes the pop up. When cell B2 is selected the userform pops up. If the user
wants to clear the entriies they have made they click a button and it
reformats the row to it's original state, however when it does the procedure
of reformatting the row since cell B2 is selected during the reformat it
causes the userform to pop up. I was just wondering if there was a way to
keep the userform from popping up during the reformat process or if maybe I
could have the close button, the red X, in the upper right corner of the
userform be utilized through code.
Thanks
> You probably have code in your sheet module that causes the pop up. It was
> most likely put there for a reason by someone who designed the workbook. You
[quoted text clipped - 4 lines]
> > have the Userform NOT pop up if the cell is selected with code that reformats
> > that particular cell?
Tim Williams - 08 Dec 2007 05:11 GMT
Show the code that does the reformatting. It should not require selecting
the cell.
Tim
>I designed the workbook, and yes I do have code in the sheet module that
> causes the pop up. When cell B2 is selected the userform pops up. If the
[quoted text clipped - 23 lines]
>> > reformats
>> > that particular cell?
jnf40 - 08 Dec 2007 05:48 GMT
The workbook is on my computer at work so I will post the code on Monday
> Show the code that does the reformatting. It should not require selecting
> the cell.
[quoted text clipped - 28 lines]
> >> > reformats
> >> > that particular cell?