Adding a private sub to existing macro w/ userform

EllenTulloch

New Member
Joined
Jan 31, 2021
Messages
1
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
Hello!

We've got a macro at work that formats a variety of different files from our vendors into a single format for upload. When we add a vendor or the vendor changes formats, we have to update the macro accordingly.

I'd like to create a userform so the team members with 0 VBA experience can easily add a new format and/or edit an existing format. I've got a standardized private sub that needs the ranges identified and a few other things checked.

Can I trigger a new private sub creation within a macro/edit that private sub WITH a macro? I figure if it is possible to do in VBA, I can figure out how to incorporate that into the userform coding.

Thanks!
ET
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Hi ET, yes you can create a new sub procedure and call that using call <subname>.
 
Upvote 0

Forum statistics

Threads
1,214,786
Messages
6,121,548
Members
449,038
Latest member
Guest1337

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top