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 July 25th, 2005, 11:49 AM
Hans_ Hans_ is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 2 Hans_ User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 30 m 30 sec
Reputation Power: 0
Help needed with macro

Hi all,

I'm trying to figure something out, but it won't work...so i need your help.

I will tell what i want to do. I made a form with a lot of Textboxes. Now, when i fill in this Form and i leave a Textbox blank i want a macro (when pushed on a button) to delete a specific Range and a specific sheet.

Is this possible?

Many thanks in advance!!

Greets, Hans

Reply With Quote
  #2  
Old July 25th, 2005, 04:22 PM
Hans_ Hans_ is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 2 Hans_ User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 30 m 30 sec
Reputation Power: 0
Sorry guys, i allready found out how to do it...

If TextBox12 = "" Then
Range("A143:A153").EntireRow.Delete
Application.DisplayAlerts = False
Sheets("Chart12").Delete
Application.DisplayAlerts = True

Don't know why i didn't think about it before....

I will be back soon i think with an other question, just let me try everything first...
Comments on this post
nofriends agrees: glad you got it working

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > Help needed with macro


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 2 hosted by Hostway
Stay green...Green IT