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 Chris Miller 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. owentmoore

    excel 2003 macro problem in 2007 - can't select spinner or group box

    Skip I was using .Select to bring forward and send back certain shapes. Based on your comments i've moved away from .Select and am now using .Visible instead which actually workes much better for me. Thanks Owen
  2. owentmoore

    excel 2003 macro problem in 2007 - can't select spinner or group box

    It looks like with excel 2007 you cannot select a form control and a shape at the same time. Trying to select a form control while a shape is selected deselects the shape in in order to select the form control - strange! To get around this I've split my code into two separate lines, one...
  3. owentmoore

    excel 2003 macro problem in 2007 - can't select spinner or group box

    I have a macro that selects a number of shapes including text boxes, rectangles, spinners and group boxes. It works perfectly in excel 2003 but not in excel 2007. Using 2007 I get "run time error 1004, Application defined or object defined error". It looks like whenever I try to select the...
  4. owentmoore

    Combobox reducing list vba

    Cheers Hugh!
  5. owentmoore

    Combobox reducing list vba

    I figured it out based on your post. Thank you! Private Sub cbo0DCF1Priority_gotfocus() Dim i As Long Dim priority(1 To 28) As Integer, j As Integer Me.cbo0DCF1Priority.List = _ Worksheets("ProductSelection").Range("Priority").Value For j = 1 To 28 priority(j) =...
  6. owentmoore

    Combobox reducing list vba

    Thanks Hugh. That's great start. I'll re-post in the correct thread if I can't figure out the rest. Owen
  7. owentmoore

    Combobox reducing list vba

    Hi all I have a priority list of 1 to 28 which the user can select against any given product. As there are a number of products, there needs to be different priorities assigned and actions completed as a result etc. I have created a combo box to do this for me. The combobox list is a range of...
  8. owentmoore

    excel vba End(xlDown) stopping on blank cell

    Thanks Gavin. Your first suggestion works perfectly. I found that my "non blank" blank cell originated from a formula I had that returned a blank "" into the cell if other conditions were not met. I then performed a paste special, pasting values only. I didn't know that the paste special would...
  9. owentmoore

    excel vba End(xlDown) stopping on blank cell

    I think now there is a problem or excel program error with the list of data I have. When I run the code above it stops on A20 even though it appears blank. When I select cell A1 and then press Ctrl and Down Arrow cell A20 is selected telling me that excel thinks there is somthing in the cell...
  10. owentmoore

    excel vba End(xlDown) stopping on blank cell

    Hi all I have a module that searches column A for non blank cells and deletes the non blanks (it needs to do this one by one as it's part of a larger routine, selecting the entire column and deleting isn't an option). The code is as follows: Sub FindAndeDeleteNonBlanks() ' Find the first...
  11. owentmoore

    Slow code / run code with hidden rows

    Thanks Skip.. I can see now how it works. Problem is that my code is set up to loop through row 3 ("lRow1") to 1700 ("lRow2"). When I use specialcells it still looks for row 3 and when it's not visible gives the error - "no cells were found". I've pasted the full code in below so yu'll see...
  12. owentmoore

    Slow code / run code with hidden rows

    Hi all I have the following code which searches through each row in turn looking for the first occurence of a comma. It then enters the cell location of this comma in a cell on the same row. I have approx 1700 rows to search which is taking a long time. But if I filter by only the required...
  13. owentmoore

    Error with Set statement while running vba code

    Yep - I figured it out after reading PHV's reply. Thanks guys. Owen
  14. owentmoore

    Error with Set statement while running vba code

    Hi all, I am getting error code "unable to get the find property of the range class" while executing the set statement in the following code. I can't see what the problem is with the code. Does anyone have any ideas? Range("IV" & lRow1).Select With ActiveSheet Do With...
  15. owentmoore

    Dynamic named range offset problem

    Thanks for the reply John. I suspected also that I may have had extra "hidden" data in these extra fields and selected all fields after the row in question and deleted them. This did not fix the problem. I've experimented with deleting all other entries on the sheet except for the text I need...
  16. owentmoore

    How to relate column number (eg 1) to column Name (eg A)

    Hi all, For a specific task I am reading the column number of a value in my sheet as being in column 57 which is column name "BE". I need to use the column name in a spreadsheet to locate a formula I have, but I do not know how to turn the 57 into BE. Can anyone help? Thaks Owen
  17. owentmoore

    Dynamic named range offset problem

    Hi I have a dynamic named range as follows: = OFFSET('Summary Data'!$Z$2,0,0,COUNTA('Summary Data'!$Z$2:$Z$2),COUNTA('Summary Data'!$2:$2)) The code picks up creats the range from Z2 as required, counts along row 2 as required, but instead of stopping at my last value, keeps counting 20...
  18. owentmoore

    Pivot Table Report Style articls/links

    Yes. I've found several things..... There's an application called AutoFormat XL for Pivot Tables that will save your modified pivot table as a template which you can then apply to other tables. It's a good program (you can download a trial version). Problem with this is that if the users change...
  19. owentmoore

    Pivot Table Report Style articls/links

    Hi all Does anyone know of any articles or websites I can look up to get a good understanding on how to create my own pivot table report style? i.e. Instead of selcting one of the 15 or so styles offered by Excel, I'd like to create my own and be able to apply it as required. Thanks Owen

Part and Inventory Search

Back
Top