Exporting Userform design and code to import in VB

lockarde

Board Regular
Joined
Oct 23, 2016
Messages
56
Hello all,

I've recently created a userform within excel to take care of some quick calculations I regularly have to do. After getting it all set, I thought, why not make it a stand alone app, instead of having to run excel everytime? I tried exporting the userform, and I get two files, one .frm file, and one .frx file. I can import the .frm file just fine into VB, but it doesn't seem to bring in the useform design, just the code. I was hoping someone might have run into this issue in the past.

Thanks for the help!
 

Some videos you may like

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

NdNoviceHlp

Well-known Member
Joined
Nov 9, 2002
Messages
2,440
Unfortunately lockarde, you need to operate XL to operate the VBA required for the userform… U can't have the userform as a stand alone program. HTH. Dave
 

lockarde

Board Regular
Joined
Oct 23, 2016
Messages
56
Unfortunately lockarde, you need to operate XL to operate the VBA required for the userform… U can't have the userform as a stand alone program. HTH. Dave
Thanks for the reply! So it seems I just need to remake the form, and alter the code to fit the syntax of VS?
 

Forum statistics

Threads
1,089,374
Messages
5,407,892
Members
403,167
Latest member
LakesideChill19

This Week's Hot Topics

  • help please
    SORRY NOT ANY GOOD AT EXCEL SO HELP WOULD BE MUCH APPRECIATED this formula is in a sheet called ignore...
  • two formulas needed
    Hello, I'll try my best to explain this: First formula needed in Sheet1 cell A2: If Sheet1 cell B2 = Sheet2 cell B2 then return a 1. If not then...
  • Dynamic Counts
    Good afternoon, we are tidying up some data & the data seems to be growing quicker than we are tidying it up! What we confirm (by reviewing it...
  • Help Excel formula eliminate duplicate values and keep only 2 identical rows.
    as picture below column A has a duplicate value. but the values are not the same as the rule. sometimes 4 rows, sometimes 10 rows or 7 or 9...
  • Macro Compile Error Sub or Function not defined
    Hello, I am trying to run macros from a validation list, all macros have been created and run perfectly on there own but I'm getting a compile...
  • Last row combined with Current Region VBA
    I'm generally happy finding the last row of data through something like Lastrow = Cells(Rows.Count, "D").End(xlUp) but I don't always receive data...
Top