+ Reply to Thread
Results 1 to 55 of 55

Linking 2 pieces of vba code

  1. #1
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Linking 2 pieces of vba code

    Hi I am hoping someone can help me link the following code please, i am new to VBA and i have managed to get this far by searching various sites but i am struggling with the next bit of code.

    What i would like is: if Combobox 1 says "new" then code 1, if not code 2.


    Code 1


    Please Login or Register  to view this content.
    Code 2

    Please Login or Register  to view this content.
    Am hoping someone can help me.

  2. #2
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Linking 2 pieces of vba code

    What will start the execution? a button?
    Thanks,
    Solus


    Please remember the following:

    1. Use [code] code tags [/code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    Highlight the code in your post and press the # button in the toolbar.
    2. Show appreciation to those who have helped you by clicking below their posts.
    3. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

    "Slow is smooth, smooth is fast."

  3. #3
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Re: Linking 2 pieces of vba code

    Hi solus, commandbutton 1 will start the execution.

    Michelle.

  4. #4
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Re: Linking 2 pieces of vba code

    Sorry you mean execute the form yes it is a button.

  5. #5
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Linking 2 pieces of vba code

    Try:
    Please Login or Register  to view this content.
    Rename your macros above Code1 and Code2 respectively. Put this macro in the button click event on the button you'd like to use.

  6. #6
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Re: Linking 2 pieces of vba code

    Thanks Solus you are a star I have been searching this for ages. I will let you know how I get on, will need to do it in the morning when I'm back in the office.

  7. #7
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Re: Linking 2 pieces of vba code

    Hi Solus,

    As i said i am a real newbie to this, i thought i had correctly followed your instructions but it doesnt work if, is there something glaringly obvious, i assume its where or how i have labelled the macros Code 1 & 2?? I have placed all the macro in the execution button

    Please Login or Register  to view this content.
    Thansk for looking at this for me.

  8. #8
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Linking 2 pieces of vba code

    Try (note the Ucase functions are to make it non-case sensitive):
    Please Login or Register  to view this content.

  9. #9
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Re: Linking 2 pieces of vba code

    Hi thanks so much for looking at this. I have loaded the code but its not doing either code 1 or 2? I think i can remove:
    Please Login or Register  to view this content.
    as i just need it to load when the form opens but either way its not quite right, any ideas???

    Please Login or Register  to view this content.

  10. #10
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Linking 2 pieces of vba code

    Did this code (that you put in post 1):
    Please Login or Register  to view this content.
    Work/run?

  11. #11
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Re: Linking 2 pieces of vba code

    Hi Yudlugar, yes both codes in post 1 worked independantly (code 1 worked if the checkbox was blank).

    I need the users to select "New" from the list in Checkbox , if new, and load code 1 allowing the users to input data which populates the next empty row, or select from one of the options in checkbox 1 to initiate code2 and load the data from the spreadsheet into the userform.

    Michelle

  12. #12
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Linking 2 pieces of vba code

    You mention in post 3 that the commandbutton should trigger the execution of the code but from what you want I think you need the checkbox change event to edit it? I'd suggest:
    Please Login or Register  to view this content.

  13. #13
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Re: Linking 2 pieces of vba code

    Hi thats not doing it either, its closing the userform if i chose "NEW" and not loading if i chose an existing. Just put post 1 code back in and both do work but its just this piece to run code dependent upon selection. The userform is initiated on
    Please Login or Register  to view this content.
    and unloads on
    Please Login or Register  to view this content.
    Just cant fathom it.

  14. #14
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Linking 2 pieces of vba code

    Well what you posted as "code1" ends with
    Please Login or Register  to view this content.
    which will close the userform. The fact it is getting to that bit means that the statement is working to select which code is required. There isn't anything wrong with the method to run code dependent on selection.

    I'd suggest that uploading a workbook would help to find the problem.

  15. #15
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Re: Linking 2 pieces of vba code

    VBA Code for Userform.zip

    Hi please find attached, it has the original code 1 and 2.

    Thanks for looking at this for me.

    Michelle

  16. #16
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Linking 2 pieces of vba code

    So I think the problem is that your code doesn't do what you want it to, not that you cannot "select" the correct code to run.

    -Code1 will load the data from the userform into the first empty row
    -Code2 will load the data from the spreadsheet into the userform

    You want:
    -that when combobox1 is changed, if the value of combobox1 is new it will do nothing, otherwise it will run code2
    -When commandbutton1 is pressed, if combobox1 is new it will run code 1, else it will load the userform into the row corresponding to combox1 value, this is the inverse of code 2. Therefore, you need to write a code 3 for that and use:
    Please Login or Register  to view this content.

  17. #17
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Re: Linking 2 pieces of vba code

    Thanks Yudlugar for your help and patience, I am learning VBA as i go and therefore appreciate all the help and direction. Would you be able to start me off with what code 3 should look like. This piece of work will be vital for the office and i am therefore really keen to get this up and running.

    Thanks again.

  18. #18
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Linking 2 pieces of vba code

    I think basically instead of:
    Please Login or Register  to view this content.
    you need
    Please Login or Register  to view this content.

  19. #19
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Re: Linking 2 pieces of vba code

    Hi Yudlugar, thanks i will give this a go now and see how it goes.

  20. #20
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Linking 2 pieces of vba code

    Michele what is the name of the button you're using the run the two lines of code I gave you?

  21. #21
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Re: Linking 2 pieces of vba code

    HI Solus, Button2 displays the userform and commandbutton1 loads the form.

    Michelle

  22. #22
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Linking 2 pieces of vba code

    Thats a big userform. It looks like quite a project. Whats your goal for this code and maybe I can better assist?

    If Combobox1 says new then load the information shown?

    If it says anything else, load the info in the userform?

  23. #23
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Re: Linking 2 pieces of vba code

    Hi Solus, yes i have been working on it a while and slowly improving my VBA knowledge at the same time (Emphasis on slowly!). I would like the userform to act as both an input form to capture new data and an update form to add/amend existing information.

    So for new data i am looking for the user to select "new" and code 1 would run and this will place all the data entered into the userform into the next empty row.

    Purpose 2 is for users to update information by selecting from the dropdown in combobox1(code 2 loads) and they can update - I hadn't actually worked out how to send the data back to the spredsheet yet that was my next step.

    Does that make sense?

    michelle

  24. #24
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Linking 2 pieces of vba code

    Well I thought it made sense, I just opened your sample. Isn't that what you have already? If they select new the userform is blank for their input. They fill out the userform and press submit it rights the new information to the worksheet?

    I think you might have already had what you want. If the combobox is not new and you pull up a current record, you're just going to created a new line when submit is pressed?

  25. #25
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Linking 2 pieces of vba code

    As I understood, if the combobox is not new the current record should be overwritten with the new data, rather than a new line.

    that was what my last suggestion was for anyway.

  26. #26
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Linking 2 pieces of vba code

    @Yudlugar

    That's what I understood too. I'm walking Michelle through the logic of her design. The code as it is written now (since there is only one submit button) will always write to the next line (except for the erow= isn't written correctly).

    Michelle,

    On a side note, on a userform this big it is wise to rename objects. So TextBox3 becomes TextBoxLeadContact.

    This will help you read through your code later.
    Last edited by Solus Rankin; 07-16-2013 at 09:43 AM.

  27. #27
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Linking 2 pieces of vba code

    After reviewing your project, I think the easiest way you're going to get what you're looking for is by creating a button to be placed next to combobox1 that says "Show Record" or something similar. The code you have in your ComboBox change event would go here instead. This would allow you to read records with one button and write records with a second. For mistake proofing you could use something like:

    Please Login or Register  to view this content.
    I haven't figured out what value or formatting is causing it but for some reason the line to find the next unused row is not working on any row before 15. I'll start working on the code to edit current records.

  28. #28
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Linking 2 pieces of vba code

    After reviewing your project, I think the easiest way you're going to get what you're looking for is by creating a button to be placed next to combobox1 that says "Show Record" or something similar. The code you have in your ComboBox change event would go here instead. This would allow you to read records with one button and write records with a second. For mistake proofing you could use something like:

    Please Login or Register  to view this content.
    I haven't figured out what value or formatting is causing it but for some reason the line to find the next unused row is not working on any row before 15. I'll start working on the code to edit current records.

  29. #29
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Re: Linking 2 pieces of vba code

    Thanks Solus.

    My little project is turning into a beast of one!! I have been looking at this constantly. I am going to rename the text and comboxes as you suggested and i will add the second button with the code, be fantastic if you could help me with the code to edit current record. Thankyou so much and thanks Yudlugar as well.

  30. #30
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Re: Linking 2 pieces of vba code

    i'll repost the file once i have done all the above.

    Michelle

  31. #31
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Linking 2 pieces of vba code

    Will there ever be a reason to have more than one record for a Active Equip Account?

  32. #32
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Re: Linking 2 pieces of vba code

    No there will only ever be one line per hospital it will never be duplicated on a different line or added on a different line..

  33. #33
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Linking 2 pieces of vba code

    Okay Michelle,

    Since it ended up being more than two pieces of code I went ahead and pushed forward on a solution. PLEASE TEST THIS WORKBOOK THOROUGHLY! I believe I have incorporated everything you were looking for. There were some fields and columns I wasn't sure what you wanted done with so there will be some tweaks that need to be made. I can help you walk through any of them. Plus I'm guessing there might be some tabs you want hidden. Investigate this workbook and let me know what you think.

    Lastly, I removed some of the formatting that was causing the file to be so big. If you would like to add the formatting we can talk about how to add it as you need it so that the file size doesn't grow unnecessarily.

    Solus VBA Code for Userform.xlsm

  34. #34
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Re: Linking 2 pieces of vba code

    OMG Solus you are an absolute hero and a Genius! I have just opened the file and it and it looks exactly what i was trying to achieve, im just going to transfer it to my workbook and then i will update you. I cant tell you how long i have been spending on this and looking for the answers. How do I reccomend enhance you on this site?

    Michelle

  35. #35
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Re: Linking 2 pieces of vba code

    Hi Solus, if i enter a new record i am recieving the error message
    Variable Not Defined
    On thsi piece of Code

    Please Login or Register  to view this content.

  36. #36
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Linking 2 pieces of vba code

    Oops. Thats not good. Try changing:

    Please Login or Register  to view this content.
    To this:

    Please Login or Register  to view this content.
    Last edited by Solus Rankin; 07-17-2013 at 08:36 AM.

  37. #37
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Linking 2 pieces of vba code

    You'll have to change the tab order. And the two textboxes above the submit/cancel buttons are not linked to anything because I couldn't tell what fields on your table they went to.

    Not all of the comboboxes have lists (like the active account combobox does) set up on the hidden 3rd tab.

    Lastly, it will probably be easier to copy your data to this workbook, rather than copying the userform to your data.

  38. #38
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Re: Linking 2 pieces of vba code

    Hi Solus

    I have added the 2 textboxes and cleaned the combobox lists on the 3rd tab and reset the tab orders, thanks for changing the textboxes to the comboboxes for the checkboxes (I originally had these but couldnt work out the code).

    I have just updated the code re your last post and i am still receiving an error "
    "variable not defined"
    and its highlighting
    "w.s"
    everytime I use a lowercase it converts to uppercase?


    Please Login or Register  to view this content.

  39. #39
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Linking 2 pieces of vba code

    sorry there must have been some confusion (probably on my part). Lets revisit the first few lines as a group:
    Please Login or Register  to view this content.

  40. #40
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Re: Linking 2 pieces of vba code

    Hi Solus, definately not on your part, I am in awe of your VBA knowledge.

    I have pasted the code but it still says "Variable not defined"

    Please Login or Register  to view this content.
    Sorry i must be driving you mad.

    Thankyou so much for helping.

  41. #41
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Linking 2 pieces of vba code

    try deleting the second "lRow=" line we only need to set lRow once.

    I'm glad I could help.

  42. #42
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Re: Linking 2 pieces of vba code

    I tthought so and i did try that but that produced runtime error 9 subscript out of range

  43. #43
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Linking 2 pieces of vba code

    Why don't you attach the whole workbook again so I can see it in context. I'm missing a variable here and I'm not sure what it is.

  44. #44
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Re: Linking 2 pieces of vba code

    Thanks Solus,

    Sorry its turned out to be a complex and time consuming one!

  45. #45
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Re: Linking 2 pieces of vba code

    VBA Code for Userform.zip

    Attatched as requested.

    Michelle

  46. #46
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Linking 2 pieces of vba code

    Hahaha. You're going to laugh.

    Rename your "Active Equip " sheet to "Active Equip".

    There is a space in the name AFTER Equip that is throwing it off.

  47. #47
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Re: Linking 2 pieces of vba code

    Solus, you are amazing and I cant thank you enouh for your patience and time invested in helping me, this was a complex issue for me and i thought I would not be able to resolve it. (Data seems to be pulling from line 3 and skipping Line 2, but after everything i can definately live with that by hiding the row.)

    I have added to your reputation, if there is anything else i can do to endorse you please let me know.

    Thanks once again.

    Michelle

  48. #48
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Re: Linking 2 pieces of vba code

    one thing with the checkboxes they could tick more than 1 but only 1 is transferring to the cell. If this is going to be complicated i could revert back to the textboxes i can work the code out for those!

  49. #49
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Re: Linking 2 pieces of vba code

    Sorry one more thing..sorry

    how do i link these 2

    Please Login or Register  to view this content.

    Please Login or Register  to view this content.
    I really need this locked if data is held as i do not want the inputter to be able to change this.

    Michelle

  50. #50
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Linking 2 pieces of vba code

    Okay, on the first problem, it will list them all.

    Go to 'Home' Tab->'Cells' Group->'Format'->Auto-Fit Row Height

    Then test it again.

    On the second question I just want to be sure about what you're trying to achieve. If they search and find a record that already exists, you don't want them to be able change the planned Exit date? Or any of the cycle information?

  51. #51
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Re: Linking 2 pieces of vba code

    OMG totally daft of me!! Fixed that one which is a relief as its much better with the checkboxes. You'll be pleased to know i resolved my lock cell problem i disabled the box and added the code at the bottom. ( idont want users to be able to change the dates once fixed)

    Please Login or Register  to view this content.

    Also i have ammended the code slightly so the data if new is inserted into the next empty row, as it was it kept replacing in the same row.

    I have learnt so much doing this i surprised myself!! Its absolutely perfect now and will make all our lives so much easier. Thanks again.

  52. #52
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Re: Linking 2 pieces of vba code

    back again..! Is there anyway i can list those checkboxes next to each other in the same cell instead of underneath ie. name 1, name 2? Im being picky now as i never thought id get this far, but worth asking to make it uber excellent. Dont worry if not.

  53. #53
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Linking 2 pieces of vba code

    Hey there is no reason not to get it perfect! Excel is very customize-able (as you've found out quickly ) Might as well do it like you want it.

    For that to happen you need to find the Function: Function strNames() As String and change:
    Please Login or Register  to view this content.
    to this:
    Please Login or Register  to view this content.
    Notice there is now a space after the , this is important so that the titles don't run together.

  54. #54
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    325

    Re: Linking 2 pieces of vba code

    Uber Uber!!! Love it, looks amazing and does everything and more than i ever imagined.

    Cheeky one now in the % box if the user keys 10 it translates in the worksheet to 1000% if they key it as 10% it shows correctly on the worksheet as 10%. Is there anyway i can force the user to enter the % symbol in the textbox (tbxPercentInstallBase)?


  55. #55
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Linking 2 pieces of vba code

    Yes there is There are a couple ways to go about it. You could require them to type it, automatically include it, etc.

    Since this post is marked as solved and we are getting a little scope creep, maybe you should start a new thread with the new question. This way anyone searching the net with a similar problem might be able to find resolution through you posts.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Linking a Number Code to a Name
    By krutherford in forum Excel General
    Replies: 10
    Last Post: 08-04-2015, 05:14 AM
  2. help with my code for hyper linking
    By Ronstex in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-03-2013, 01:20 PM
  3. Are these 2 pieces of sorting code return the same result?
    By shinichi_nguyen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-23-2012, 01:36 PM
  4. Integrate two pieces of code
    By Rick_Stanich in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-24-2009, 09:47 AM
  5. [SOLVED] Merge 2 pieces of code
    By Steph in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-01-2006, 12:10 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1