Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. OzzieTheOwl

    ComboBox ListFill Range in Excel 2000

    Hi I have written the following vba in Excel 2000, to fill a ComboBox ListFillRange. ActiveSheet.Shapes("ComboBox1").ControlFormat.ListFillRange = "Control!$B$2:$B$" & ControlEndB I am getting the error message Can some enlighten me as to what I am doing wrong? Cheers Barney
  2. OzzieTheOwl

    BOXI Export to Repository Issue

    Hi. Just had BOXI Enterprise Installed by the IT Department. I was previously using v6.5. When I click on the Export to Repository, or Import From Repository Button, nothing happens. The PC seems to think about it for a second, then does nothing. Is this something to do with the install, or...
  3. OzzieTheOwl

    Routine Only opens every other file in Excel

    Hi I have the following code which is supposed to open up every Excel file in a directory, but it only appears to open up every other file. Can anyone see what I have done wrong? Dim myFiles myFiles = Dir("\\bbuukvirfnp0001\scm\logistics\Costing data\Stock Values " & YearNo & "\Week...
  4. OzzieTheOwl

    Command Bar, Whats Wrong?

    Hi I have the following code that should be putting a command button into a command bar. Private Sub Workbook_Open() Set cbrGraphs = Application.CommandBars.Add cbrGraphs.Name = "Graph Buttons" cbrGraphs.Position = msoBarTop With cbrGraphsControls Set cbcCreateGraphs =...
  5. OzzieTheOwl

    Using Loop To Create Multiple Recipients of Email (Excel)

    Hi I am trying to send an email to multiple recipients, the number of recipients could vary each time the macro is run. I have created a loop to get the names, but Outlook doesn't seem to like the multiple names, can anyone help me out? Current Code Below For EmailLoop = 3 To...
  6. OzzieTheOwl

    Activate Access After sending Email

    I have a routine which sends an email from a form, the problem is that once the email has been sent the focus is still on Outlook, does anyone know how to make the Access DB the focus again? Thanks in Advance Barney
  7. OzzieTheOwl

    Find Record Code Not Working

    Hi I have the following code, which is supposed to find and navigate to a record on a form, from an entry made in a textbox in the form. The field searched could either be a number or text entry, so I have made the field a text field. I am using Access 97 if that makes any difference. Private...
  8. OzzieTheOwl

    Query to return Data based on Max Date Entry

    Hi I have a table with 3 fields Registration, Date, Miles This shows a history of vehicle mileage at the date stated. So there are multiple entries for each vehicle, with a different date against each with a mileage at that date. What I need to do is write a query to produce one line per...
  9. OzzieTheOwl

    On Error in Loop

    Hi The code below is looking for a matach from one sheet to another, works fine when there is a match, but when there is no match it gives me a Run Time Error 91. I understand this is because there is no match, but I thought the "On Error" line would sort that out. Have I done something...
  10. OzzieTheOwl

    DLookup Help

    Hi I am trying to establish if an entry on a form exists in an existing table. Then if it does not exist ask the user if they want to add it. I can write the code to add the record if required, but I am not sure how to do the validation. I was thinking of possibly using the dLookup function...
  11. OzzieTheOwl

    Apply Filters on Multiple Fields

    Hi I am trying to apply a filter to a form using VBA, I need to the filter to work off ComboBox values the user has selected, and then apply the filter to several fields depending on what the user requests. I have written the code below, which works fine for one parameter, but when I select 2...
  12. OzzieTheOwl

    Apply filter on form using combobox selection

    Hi I am new to Access VBA and am struggling to get this to work. I have a form with a combobox on, I also have a search button. What I want is to be able to filter for the value in the combobox. I have the following code txtFilter = Form_Address.cmbOracleName.Value Me.Form.Filter =...

Part and Inventory Search

Back
Top