Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Tdp Tdp is offline
external usenet poster
 
Posts: 74
Default Reposted question: If cell is empty show userform????????

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.
--
Tdp
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Reposted question: If cell is empty show userform????????

Placed in the ThisWorkbook sheet:

Private Sub Workbook_Open()
If Sheets("Sheet7").Range("B6").Value = "" Then
UserForm3.Show
End If
End Sub
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Tdp" wrote:

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.
--
Tdp

  #3   Report Post  
Posted to microsoft.public.excel.misc
Tdp Tdp is offline
external usenet poster
 
Posts: 74
Default Reposted question: If cell is empty show userform????????

Thanks Luke,
I get the following:
Run Time Error 9
Subscript out of range

any ideas?
--
Tdp


"Luke M" wrote:

Placed in the ThisWorkbook sheet:

Private Sub Workbook_Open()
If Sheets("Sheet7").Range("B6").Value = "" Then
UserForm3.Show
End If
End Sub
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Tdp" wrote:

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.
--
Tdp

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Show UserForm if cell is emprty. Tdp Excel Discussion (Misc queries) 6 January 15th 09 02:56 PM
Show day or empty cell KrisP Excel Discussion (Misc queries) 4 August 18th 08 11:45 AM
Show cell empty when 0 WH99 Excel Discussion (Misc queries) 1 June 23rd 08 12:18 AM
Lookup to Show Empty Cell RoadKill Excel Worksheet Functions 5 March 28th 08 01:51 AM
Question Reposted TimJames Excel Worksheet Functions 0 July 18th 07 01:20 PM


All times are GMT +1. The time now is 06:54 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"