LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 599
Default Desperate for help with VBA List Box

bluegirl

This is the part that shows the userform when a cell in column J is selected

Private Sub Worksheet_SelectionChange(ByVal Target As Range)

If Target.Column = Me.Range("J:J").Column Then
UserForm1.Show
End If

End Sub

It goes in the code module behind the sheet, not in a standard module.
Right click on the sheet tab where you want this to happen and choose View
Code. This will take you to the proper code module for this sub.

--
Dick Kusleika
MVP - Excel
Excel Blog - Daily Dose of Excel
www.dicks-blog.com

"bluegirl " wrote in message
...
I must be just dumb.... I can not seem to grasp how to actually make it
all work.

I have the commands in the VBA sheet, and I have the form set up the
way I want...

How do I make it actually come up when the cell is selected on the
worksheet.

ACK


---
Message posted from http://www.ExcelForum.com/



 
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
STILL DESPERATE FOR HELP!!! edm1007 Excel Discussion (Misc queries) 8 September 6th 08 08:13 PM
DESPERATE FOR HELP!!! edm1007 Excel Discussion (Misc queries) 4 September 6th 08 03:33 AM
Desperate...please help! sas Excel Worksheet Functions 3 January 22nd 06 08:09 PM
Desperate NEED!!!! huntr357 Excel Worksheet Functions 3 April 21st 05 04:47 PM
Sorry, But Getting Desperate codytheretriever[_2_] Excel Programming 1 November 12th 03 08:59 PM


All times are GMT +1. The time now is 11:07 PM.

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

About Us

"It's about Microsoft Excel"