Results 1 to 2 of 2

Thread: Excel Copy references

  1. #1
    Fanatic Member BlindSniper's Avatar
    Join Date
    Jan 11
    Location
    South Africa
    Posts
    865

    Excel Copy references

    Hi all,
    I've created a spreadsheet for my sister in excel and it uses the solver addin to solve some linear programming and a calander control to pick a date. It works fine on my pc, but when I copy it to her pc I have to re add the solver addin and she doesn't have the calander control on her pc. Is there a way to tell excel to include these references into the file ? I've tried copying the calander control ocx file to her computer but in excel it gives me a error message saying it can't register the conrol.

    Any help appreciated

    Useful CodeBank Entries of mine
    Expand Function
    Code Compiler
    Sudoku Solver
    HotKeyHandler Class

    Read this to get Effective help on VBForums
    Hitchhiker's Guide to Getting Help at VBF

  2. #2
    PowerPoster
    Join Date
    Dec 04
    Posts
    18,522

    Re: Excel Copy references

    the calendar control does have issues with different versions

    someone posted a replacement in the vb6 (or codebank) forum, that you should be able to use with all versions
    http://www.vbforums.com/showthread.p...lendar+control
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

Posting Permissions

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