Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.
Delecting Cells with VB
Name: Jose Date: September 9, 2002 at 12:43:15 Pacific OS: Win NT CPU/Ram: 1.2 GHz
Comment:
Hello,
I was wondering what the code would look like if I wanted the following: I would like an command button that when pressed, pops up a user input box that prompts the user for a name. When they enter that name, the code will search through a column of names and delete the one they typed in and shift all of the cells up. If they type in a name that is not on the list, then an error box will pop up. If anyone has any suggestions, your help would be greatly appreciated.
Name: VBKing(ish) Date: September 10, 2002 at 00:44:14 Pacific
Reply:
Sorry I completely forgot about your earlier post. As this is in Excel it is easier to record a macro using the FIND function and DELETE.
Although personally I don't like using this function it is good to look at the code and it should just be a case of changing the FIND text to a variable created by the inputbox.
You may have to put in a trap for the FIND result if negative as I'm not sure if it automaticaly generates a value if an item is not found.
Let me know how you get on and I'll look into this as well.
Summary: how can i block tcp ports with vb. ex. say to close port 80, when you click a command button, then open it back up when the command button is pressed again. anyone know how to do this, or a good site ...
Summary: I am not familiar with VB.NEt but assuming it is similar to VB6 the only forms that can have scroll bars are MDI forms. You set Scroll bars to true and the appeare automatically whenever there is some...
Summary: I have 2 specific enquiries: 1.) What is the best way at storing information with VB - I am teetering on using .dat or databases but have no information on doing either.. Is there anyway i can actualy...