Reposted question: If cell is empty show userform????????

  • Thread starter Thread starter Tdp
  • Start date Start date
T

Tdp

If cell "B6" in sheet7 value = "" then show userform3.
How do I put that in code when the workbook is opened.
This workbook always opens on sheet1.
Thank you.
 
Placed in the ThisWorkbook sheet:

Private Sub Workbook_Open()
If Sheets("Sheet7").Range("B6").Value = "" Then
UserForm3.Show
End If
End Sub
 
Thanks Luke,
I get the following:
Run Time Error 9
Subscript out of range

any ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top