+ Reply to Thread
Results 1 to 13 of 13

does my excel form with vba made for 2003 work in the 2010 version?

  1. #1
    Registered User
    Join Date
    08-02-2011
    Location
    stavanger, norway
    MS-Off Ver
    Excel 2003
    Posts
    29

    does my excel form with vba made for 2003 work in the 2010 version?

    Hi,
    I,ve made a form in excel 2003 but now have to migrate it to excel 2010.
    How can I be sure that it will work properly?
    When I open it in 2010, it works fine, but when my collegue opens it, he get's errormessages.
    Gratefull for all help!
    Regards, Trudie

  2. #2
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: does my excel form with vba made for 2003 work in the 2010 version?

    What messages ?
    In which VBA-lines ?

    Grateful for all necessary, detailed information !



  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: does my excel form with vba made for 2003 work in the 2010 version?

    Has your colleague enable macros?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Registered User
    Join Date
    08-02-2011
    Location
    stavanger, norway
    MS-Off Ver
    Excel 2003
    Posts
    29

    Re: does my excel form with vba made for 2003 work in the 2010 version?

    when opening up the form, there's an error right away.
    My guess it's about a missing addin for the calendarform - not sure how to solve this.
    I'll attach the whole workbook here, it would be very nice if you could help me out

    regards,
    Trudie
    Attached Files Attached Files

  5. #5
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: does my excel form with vba made for 2003 work in the 2010 version?

    I think your guess is right.

    You protected the VBA-code too rigorously.

  6. #6
    Registered User
    Join Date
    08-02-2011
    Location
    stavanger, norway
    MS-Off Ver
    Excel 2003
    Posts
    29

    Re: does my excel form with vba made for 2003 work in the 2010 version?

    Can you please tell me what to do?
    how can I make it a way that both excel 2003 and excel 2010 can run this file?

    regards,Trudie

  7. #7
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: does my excel form with vba made for 2003 work in the 2010 version?

    Send the other user the mscal.ocx file that's on your system ( in the directory where Office has been installed) and let that user put the file into his/her office installation directory.
    Last edited by snb; 09-23-2011 at 06:28 AM.

  8. #8
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: does my excel form with vba made for 2003 work in the 2010 version?

    The Calendar control does not come with Office 2010, so perhaps your co-worker does not have it available. You also have a reference set to the RefEdit control, which can be problematic as it's not always in the same location on different machines. You should be able to simply uncheck the reference for that though.
    Remember what the dormouse said
    Feed your head

  9. #9
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: does my excel form with vba made for 2003 work in the 2010 version?

    I would change the Calendar Control to a non-ActiveX control

  10. #10
    Registered User
    Join Date
    08-02-2011
    Location
    stavanger, norway
    MS-Off Ver
    Excel 2003
    Posts
    29

    Re: does my excel form with vba made for 2003 work in the 2010 version?

    hi its no option to send the mscal.ocx to all the receivers, in order to install it on their machines.
    Therefor i rather will try the 'non active x controll' if this is something that does not require extras to be innstalled on each machine the file is to be used.
    Are you sure that the file is still useable with excel 2003 then (still compatilble?) and what kind of script can you recommend me?
    regards,
    Trudie

  11. #11
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: does my excel form with vba made for 2003 work in the 2010 version?

    Have a look at the examples that I posted a link to

  12. #12
    Registered User
    Join Date
    08-02-2011
    Location
    stavanger, norway
    MS-Off Ver
    Excel 2003
    Posts
    29

    Re: does my excel form with vba made for 2003 work in the 2010 version?

    thanks, i'll give it a try this weekend
    (no chance of getting boared)
    regards,
    Trudie

  13. #13
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: does my excel form with vba made for 2003 work in the 2010 version?

    If you have access to a webserver you can place the ocx-file on the webserver and build a small macro that retrieves the files and puts it into the correct folder of every user's system. (you will be distributing you userform also, isn't it ?).

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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