Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old December 4th, 2004, 10:34 AM
kayaker kayaker is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 2 kayaker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Click Cell to Run VB Program

I have written a small program in VB within Excel and I want to run it every time I select a cell in one particular column. If I run the program it will return the value to the current cell. How can I start the program by selecting a cell?

Thanks.

Reply With Quote
  #2  
Old December 4th, 2004, 03:55 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 22 h 9 m 49 sec
Reputation Power: 181
Maybe VB has a Shell function in VBA. I don know much about Excel programming.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #3  
Old December 6th, 2004, 09:51 PM
kayaker kayaker is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 2 kayaker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Smile problem solved

Thanks Doug G.. I found the solution. I used the Worksheet_SelectionChange event and checked for the column
selection. If the correct column was selected then I showed the userform that I built.

Reply With Quote
  #4  
Old April 19th, 2005, 06:53 PM
2Raw 2Raw is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 2 2Raw User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 53 m
Reputation Power: 0
Talking I have a very similar problem.

Quote:
Originally Posted by kayaker
Thanks Doug G.. I found the solution. I used the Worksheet_SelectionChange event and checked for the column
selection. If the correct column was selected then I showed the userform that I built.


I am using vb inside of xl. When I run my vb I have four buttons on a control panel and that is all I can access. I cannot click cells
or scoll the xl display. How can I selct a cell while vb is running? How can I scoll the display? I want the user to be able to do these
things while my program is running.

I really appreciate any help you could give me.

Best regards,

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > Click Cell to Run VB Program


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT