+ Reply to Thread
Results 1 to 2 of 2

Started up my Excel VBA project the wrong way

  1. #1
    Registered User
    Join Date
    04-04-2020
    Location
    new jersey
    MS-Off Ver
    vba 7.0
    Posts
    1

    Started up my Excel VBA project the wrong way

    I am using VBA7.0 in Excel 2010.

    I opened a workbook, created a GUI form and proceeded to populate it with widgets and underlying code, all in the form, It is now quite large and unwieldy but functions great.

    The only way that I can start and run this is if I open the workbook developer tab, open the visual basic tab then execute it with the little green arrow.

    I've tried to separate the parts out. I'd like to just be able to start the GUI vba code. The people running this app are not very computer savvy and I'd like to keep them out of the guts of the application.

    Any help, suggestions, questions for me.

    Thanks
    emp53

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: Started up my Excel VBA project the wrong way

    .
    There is no absolute method of keeping anyone out of your code within Excel. Excel is notorious for not being secure.

    If your users truly are not computer savvy, just protecting the code within the VBE will suffice for most purposes.

    https://www.ozgrid.com/VBA/protect-vba-code.htm



    Regarding starting the UserForm (GUI), you can create a macro and paste it into a Regular Module.

    Please Login or Register  to view this content.

    Then, on the Main Sheet of your project, insert a Command Button. When the button is placed on the sheet a small
    window appears asking you which macro should it be attached to. Select the macro named above and click OK.

    Macro name: shwForm

+ 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. Help Getting Scheduling Project Started
    By shabs42 in forum Excel General
    Replies: 1
    Last Post: 11-02-2018, 01:34 PM
  2. [SOLVED] Project In Process / Completed / Not Started Formula
    By whrsma in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-18-2017, 10:57 AM
  3. Replies: 1
    Last Post: 06-12-2017, 09:20 PM
  4. Hello I have recently started using Macros to assist with a project
    By Mark McG in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-18-2014, 06:06 AM
  5. [SOLVED] Getting Started with Excel VBA
    By thisisgerald in forum Excel General
    Replies: 3
    Last Post: 12-17-2012, 08:12 AM
  6. Excel started, but not the file
    By chengsun in forum Excel General
    Replies: 0
    Last Post: 05-18-2006, 05:55 AM
  7. Replies: 1
    Last Post: 10-18-2005, 11:05 AM

Tags for this Thread

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