msinfo32 wasn't very helpful either. It didn't have much info about USB port assignment at all.
----------------------------------------
If you are reading this, then you have read too far... :-P
We've been having a similar problem with the same model machine ordered only two weeks ago. For some reason I keep getting the infamous blue-screen-of-death after about 4 minutes of being powered up.
Although the issue seemed to be related to the video card, reinstalling the drivers had no...
Well, I've used the docking station for the Dell Precision laptop tons of times, and have never had an issue with powering up the machine after connecting it to the docking port.
----------------------------------------
If you are reading this, then you have read too far... :-P
Is there any way to find out which COMM ports are being assigned to USB devices? I'm trying to figure out which port my USB barcode scanner is using.
So far the Device Manager hasn't been useful.
----------------------------------------
If you are reading this, then you have read too far... :-P
Anyone know of a method for checking if a particular worksheet name exists in a workbook. I know it'll probably use the Worksheets.Name property, but the actual code for searching is eluding me.
----------------------------------------
If you are reading this, then you have read too far... :-P
You need to put the code in the worksheet that you're using. From the VBA editor right click on the sheet you want to monitor and choose "View Code". Then, from the drop-down menu, select "Worksheet" and "SelectionChange". Swap out the test case with:
If Target = ActiveSheet.Range("E12") Then...
The row I want to add in is sent to a seperate procedure via a variable value (RwIdx).
Sub SrchResult(RwIdx As Integer)
frmResults.lbxResult.AddItem (ActiveSheet.Rows(RwIdx))
End Sub
SrchResult is called each time an item in the spreadsheet meets the criteria of the search. I've even...
The only problem is the RowSource will only allow a single range to be set. I tried using a disjointed NamedRange to simulate what I'll need, but it didn't work (although it didn't give an error the list remained blank).
What I need is a routine to add in lines to the ListBox based on the...
There is no ListFillRange property for a UserForm ListBox. The RowSource is the closest thing.
----------------------------------------
If you are reading this, then you have read too far... :-P
Is it possible to insert groups of rows into a ListBox on a UserForm through VBA? The AddItem method doesn't seem be the right way to go for this.
Any assistance would be greatly appreciated.
----------------------------------------
If you are reading this, then you have read too far... :-P
You could try looking into the Range.NumberFormat property. Maybe setting NumberFormat = "0.00" would give you the result you're looking for. Not sure if "0,00" would work the same.
----------------------------------------
If you are reading this, then you have read too far... :-P
The search would only run through about 80 or so cells, so I'm not too worried about speed here. That's an interesting alternative, however that may be useful in another piece of code. Thanks, Skip and PHV!
----------------------------------------
If you are reading this, then you have read...
Nevermind, just found the InStr function. It does the job nicely.
----------------------------------------
If you are reading this, then you have read too far... :-P
I know it's possible to parse a string in VBA using some built-in function using a specified delimiter (in this case a ","). Could anyone help with the code to do this? The goal is to take the string stored in a cell on an Excel spreadsheet and break it up for comparison against a user-input...
Is it possible to tie cells across multiple spread sheets together so that VBA can reference them? In other words have Worksheets("Sheet1").Cells("A1") refer to Worksheets("Sheet2").Cells("E4") so that the two data values in the cells can be tied together later on using only VBA...
We have a UserForm where clients will search for items in an inventory based on multiple search fields. Depending on which data they supply (search criteria) the program will search for different data in the inventory. In other words:
Enter Search Criteria:
Serial #: 1234567
City...
No city will ever have more than 8 locations to keep track of. That probably should have been mentioned beforehand, sorry. As for referencing the worksheet and the case that a user enters in another worksheet, they ARE being referenced by name, I simply used "Worksheet(2)" as an example. I'll...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.