Results 1 to 26 of 26

Thread: Compile errors [resolved]

Threaded View

  1. #14

    Thread Starter
    Banned
    Join Date
    Jul 2007
    Posts
    400

    Re: Compile errors

    Quote Originally Posted by Joacim Andersson
    I still don't understand. Can you please tell us what you want your code to do? What do you mean by "office menu to get respond on the menu"???? Are you using VBA in an Office application like Word or Excel?


    Well, I want my code to translate the menu items at the same time office menu to get work together. The codes you have fixed are working perfectly but they don't get work with the office menu on the menubar for some reasons. I have found a bug that is caused problem:


    Code:
    For Each ctl In Form1.Controls

    I need to have translate on the menu items at the same time that office menu can get working together; I need to have them for my own programming business. And yes I want to use office menu like Word and excel. However I tried to remove the code on above that gave me a problem for office menu; I have received the error and I removed the following code on the bottom:



    Code:
    Next


    I have received another error saying 'Run time error 91: Object variable or With block variable not set' on that following code:



    Code:
            If TypeOf ctl Is Menu Then



    I don't know what I can do to get my own problems fixed.



    I hope there are many other situations that we can find ways to get the problems refixed??


    Thanks,
    Mark
    Last edited by Mark103; Oct 21st, 2007 at 06:50 PM.

Posting Permissions

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



Click Here to Expand Forum to Full Width