View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
jnf40 jnf40 is offline
external usenet poster
 
Posts: 103
Default Userform Question

The workbook is on my computer at work so I will post the code on Monday

"Tim Williams" wrote:

Show the code that does the reformatting. It should not require selecting
the cell.

Tim


"jnf40" wrote in message
...
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

"JLGWhiz" wrote:

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.

"jnf40" wrote:

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?