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 SkipVought 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. bartrein

    Reference to VB6 dll in VBA

    Thanks a lot Hugh - CreateObject is something i haven't thought about. Still I will explore Binary Compatibility link Many thanks
  2. bartrein

    Reference to VB6 dll in VBA

    Hi Fumei Let's start again :) application - excel 2003 dll library written/compiled in VB6 classes (?)- standard class modules i guess (i'm not using any of the on_connection methods as it's an automation addin not com) reference added in VB editor in Excel after changing and recompiling...
  3. bartrein

    Reference to VB6 dll in VBA

    Do i need to reload (remove and add reference) to my dll file every time i compile it ? I am getting an error if i don't do it - something like "class does not support automation" thanks
  4. bartrein

    Advanced autofilter in vba - Can't Get Unique Values

    Hey Skip I've finally done some proper homework on this advancedfilter tool and now got a bit better idea. The key thing was that I didn't realize that criteria property works in the same way as in data functions (DSUM etc), i initially thought that it would do the same as autofilter i.e...
  5. bartrein

    Advanced autofilter in vba - Can't Get Unique Values

    The original table: ABE.MC B 125 ABF.L B 126 ABZ.L A 127 ABG.MC A 128 ABR.MC B 129 And what i would like it to look like after filtering : ABE.MC B 125 ABZ.L A 127
  6. bartrein

    Advanced autofilter in vba - Can't Get Unique Values

    I might be wrong but i thought that by specifying criteria range you tell the filter in which column to look for unique values?
  7. bartrein

    Advanced autofilter in vba - Can't Get Unique Values

    Thanks Skip I didn't explain properly what i wanted I want to extract UNIQuE values (so if something appears twice on my list it will only appear once after the macro) The reason for VBA is that i want this routine to be part of a larger structure of code and i wanted to write it in a way that...
  8. bartrein

    Advanced autofilter in vba - Can't Get Unique Values

    Hi - I have a table of data in range a1:d20000 - Column "B" contains duplicate & unique values - I want to delete entire-rows with duplicates in col B - TO do that i create a temporary sheet, using ADVANCED autofilter i extract and paste rows with unique values into that sheet, remove...
  9. bartrein

    DLL unable to compile (permission denied)

    Thanks genomon. I am using excel 2003 and antivirus shouldn't have anything to do to with it (i think). When i rename my DLL i can compile it no problem, and even without renaming, it allows me to compile. it's usually when i close excel to add some changes in VB6 and then compile when i...
  10. bartrein

    DLL unable to compile (permission denied)

    Hi I'm having a problem compiling my VB6 library which i am using in excel VBA. Excel application is closed, i've set class = nothing at the end of my vba macro. any idea why is this happening?
  11. bartrein

    Add Help/Function description to your DLL UDF's

    Thanks DOUG not exactly what i wanted but definately useful.
  12. bartrein

    Add Help/Function description to your DLL UDF's

    So i have written number of functions in VB6 and would like to use them in VBA. The library is growing and at some stage i may loose track of what does each of my functions exactly do. Is there a way to add context help or function description that could be accessed witin VB editor - e.g...
  13. bartrein

    Excel VBA - UDF errors with SP3

    Depending who 'owns' the code you are trying to access it might be a good idea to acutally contact the author. You are saying that you can't access the file - is it dll library? Check the folder where your .dll file is stored perhaps you will find there another file with .vbp extension - that...
  14. bartrein

    How can I open up a hyperlink after my search?

    You can use OFFSET function e.g. tmp.Offset(0, 11).Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True Assuming "tmp" is your range with a sought number in col A Offset (0,11) moves your reference from col A to col L (1+11) hope this helps
  15. bartrein

    PDF to XLS conversion using Excel VBA

    You could try to save your pdf as text file (from Adobe file menu) and format it from there.
  16. bartrein

    Use an array to find total and unique batch IDs

    If i understand correctly then what you are trying to do could be easily achieved without VBA : - Total_Batch (including unique Batch Id and duplicate Id's) is effectively equal to the number of appearances of the LASt_Name : =COUNTIF(C:C,C2) - where column C contains LAst_Name(s) - Unique...
  17. bartrein

    Load/Unload Addin when Workbooks Open/Close

    Hi It is probably a common question and i had done some research before posting however what i have found does not seem to work for me. So the situation is : - I have created a library of some reusable VBA functions/subs and stored it in .XLA addin, at the moment they are only to be used in...
  18. bartrein

    How can I check if the cell contains Validation type or not

    I don't know the exact code that would do that but you could try to change one of the non-core properties of your validation which will cause an error if there is no valdation there. For example : ''''''''''''''''''''''''''''''''''''''''''''''''''''''''' sub test() 'see if B3 contains a...

Part and Inventory Search

Back
Top