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 derfloh 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. romij29

    Problems with List Box Array

    Hi, Haven't been on here in a while. Have a slight problem(at least i suspect it is) which i would like some help with: I have a macro thatopens a userform on which a button is clicked to copy and paste data into sheets 2 and 3 of the excel control worksheet. Right after that a RUN button is...
  2. romij29

    Having problems:Multiple selection,listbox, boolean??

    Also on the control worksheet 3 where data is pasted to columns A:H I seem to have data from G6:H10 copied to J2:K5 depending on the number of selections made on listbox.e.g. if i make 3 selections on listbox, i get data copied from G6:H9 TO J2:K4, That is not supposed to happen.It ight seem...
  3. romij29

    Having problems:Multiple selection,listbox, boolean??

    Thanks PHV,tried that but it doesnt seem to run at all. After I click on first bur-tton to import data into the control sheets 2 and 3, and clicking on the RUN button, the macro does not seem to run nor it does it show any runtime errors.
  4. romij29

    Having problems:Multiple selection,listbox, boolean??

    Hello PHV, yes there is.stupid of me to not have put it on there. It says; "Could not get the Selected property.Invalid argument" Apparently my F-Range on the error line is the listbox contents and these come up to 11.Whatever choice I make in that listbox upon running and debugging lists i to...
  5. romij29

    Having problems:Multiple selection,listbox, boolean??

    Hello to everybody, Havent been on here in a while. Have a slight problem(at least i suspect it is) which i would like some help with: I have a macro thatopens a userform on which a button is clicked to copy and paste data into sheets 2 and 3 of the excel control worksheet. Right after that a...
  6. romij29

    How do I write a set of instructions in VBA??

    Hello I have a GetOpen Filename program that works for two workbooks being copied into 2 sheets of a destination workbook. However, i want a situation where I can say that if user chooses a file in a specific folder, then do a set of instructions, However if the file chosen is in another...
  7. romij29

    Open dialog box. Can Introduce an If ....Else If statement??

    Hello, Put the above question on yesterday??Anybody with any ideas??
  8. romij29

    Open dialog box. Can Introduce an If ....Else If statement??

    I have got a code for opening a file and copying data into another sheet.I have two files that I need to open and copy data from their only sheets into a workbook with two destination sheets. In short, two workbooks (each with a sheet) copied into one workbook(2 different sheets). Currently, my...
  9. romij29

    Closing a file(any file) retrieved by GetOpenFilename method

    Thanks PHV, Thanks a lot.It worked a charm. Is it possible to set the multiselect to True and select two files in different folders within the same dialog box. If so, how can this be done?
  10. romij29

    Closing a file(any file) retrieved by GetOpenFilename method

    Hello, Tried that but did not work. Thanks for the tip anyway.Is there any other way of multiselecting apart from creating a new user form..?? Thanks
  11. romij29

    GetOpenFilename;PROBLEM WITH CLOSING THE FILE I OPENED

    Hello SkipVought, I must say that you just made my day soo much simpler and I wanna thank ya for your assistance.Very well appreciated. The code worked like a charm. I also need to know something about multiselect.I tried setting it in the code to true to enable me pick two files at the same...
  12. romij29

    Closing a file(any file) retrieved by GetOpenFilename method

    Hello , Wondering if anyone out there could come to the assistance of a vba newbie. I have a getopenfilename program that opens a dialog box and enbles me to choose a file that opens up. From there.I copy a sheet to another worksheet. However, how do I close the file retrieved through the...
  13. romij29

    GetOpenFilename;PROBLEM WITH CLOSING THE FILE I OPENED

    Hello To all, How are ya?/ I have a slight problem with this code. Sub mnuFileOpen_Click() Dim FullFileName As String FullFileName = Application.GetOpenFilename("Excel Files (*.xls),*.xls", False) Application.StatusBar = "Opening " & FullFileName Workbooks.Open FullFileName...
  14. romij29

    Open Dialog Problems

    i have a get open file code that I have no clue about.whether the actual file names shd be included.Is that right.I can seem to distinguish between the instructions and code itself. For eg, from code ZeroMemory = "ofn", sizeof(ofn) ofn.lpStrFile = szfile ofn.nMaxFile = sizeof(szfile) How do I...
  15. romij29

    Problems with CommonDialog codes(Open Dialog,precisely)

    PHV, Its beyond my reach to have those files installed.Office policy.Don't ask me. I need to sort this out now and I am afraid I will not have the time to be chasing some IT person, so if you can give me some concrete answers it'll be appreciated. Thanks,
  16. romij29

    Open Dialog Problems

    As I explained before,I use this at work and don't have help files installed due to administrator restrictions. Don't ask me why,but its not allowed for some reason. Hence my blindness. Put the ff code in my program and when I step thru it ,there is nothing.Any ideas,concrete pls?? Sub...
  17. romij29

    Open Dialog Problems

    Thanks Flippertje, I am new to this so it would be good idea if you could explain in laymans terms what this is all about.What is the parentheses like for the items .And could you write it in perfect syntax pls. Regards
  18. romij29

    Open Dialog Problems

    Hello Everyone, I am writing a program whereby I will be able to click on a form button I have designed and have an open dialog box open,whereby I choose a file and basically have contents within that file copied into another file.I would prefer themacro to do it automatically.However,I am not...
  19. romij29

    Problems with CommonDialog codes(Open Dialog,precisely)

    Hello PH, Thanks for your advice again Unfortunately,I am working off my jobs 'system and I do not have help files installed soI 'd appreciate any immediate help as I need to sort this out A.S.A.P. Thanks, romij29
  20. romij29

    Problems with CommonDialog codes(Open Dialog,precisely)

    Hello PH, Thanks for your answer.You have lost me slightly there.Have no clue how to use this. Not very conversant with the open dialog codes Could you enlighten me further, Thanks' romij29.

Part and Inventory Search

Back
Top