modules

  1. N

    Find week number within custom year when user enters random date

    EXCEL VERSION Excel 2013 (15.0.4631.1000) BACK STORY I create weekly reports, reporting activity based on a 'Week number' defined by a custom year. Custom year = 01 SEP - 31 AUG. Each week within this custom year is defined by a week per row in a named table. E.g. Monday 02/09/2013- Sunday...
  2. C

    How do I stop making duplicates vba modules?

    It seems I have accidentally made about 19 duplicate vba modules so what did I do wrong and is there a quick way to eliminate duplicates?
  3. M

    Exporting modules through VBA

    Dear All, I have a file which is distributed to around 20 users. I need to make some changes in one of the modules and instead of recalling all files and do the change manually I would like to create an update file and to export the new/updated module through VBA to all 20 user. Does anybody...
  4. N

    Fill Cells using a reference Text and Column/Rows

    Hello, I am trying a do cell replacement exercise and have found it a bit challenging. Below is my data and expected results: Current Data: <tbody> Policy No Name_Address Agent Code Date Premium 23456 James Price T83P 2XP 23/05/2013 £35.00 Line1 Line2 Line3 PO1 2TN...
  5. S

    Need help in debugging this vba code.

    Hi, I'm very very new to access vba. Here's what I did(I'll explain with an example) - (NOTE: If status is inactive then column 32, 33 should be "No" and red. If status is "Active" then only next strings should be searched in column 13) Example - columns are - Status(4th column), Group(13th...
  6. E

    Generating a new command button by clicking a command button and adding code to the new button.

    Hi. I've made a code that will create, position and name a new command button when a command button that already exisits is pushed. The next step is to insert code into the new button. I think the best way to do this is to put the new button code in a module, which can then be copied and pasted...
  7. J

    How to make a 2003 add-in in Access 2010?

    I use Access 2010, but many clients still have 2003, so I have to deal with 2003-format files all the way. I've developed MyTools.MDB with nothing but macros and modules containing various tools like exporting all objects to text files. I want to make it an add-in so I can open any MDB or...
  8. JJ Odelle

    Keyboard Shortcuts Not Working for Macros

    I'm using Excel 2010 with Windows 7. I'm new to macros. I've been recording macros and trying to assigning a keyboard shortcut in the Record Macro window but, they don't seem to stick. The macro keyboard shortcuts work with the first use but, don't work if I close Excel and try to use them...
  9. L

    Import module into Powerpoint file using excel vba

    hi all, Does anyone know how to import modules which are saved on the computer into a opened powerpoint presentation? I have succeeded in doing this with importing into other excel files and i am trying to modify that code. Everything works up until it trys to import the modules. Here is my...
  10. J

    Merging 3 odules into 1

    Hello GANG! I have 3 modules I am trying to merge into 1...they are: Sub WriteOffs() ' ' WriteOffs Macro ' maniplute Imported Oracle Data for write-offs ' ' Columns("J:L").Select Selection.Delete Shift:=xlToLeft...
  11. T

    trying to get a VB module to work

    Hello, I've been trying to calculate a weighted average and weighted standard deviation in Excel 2007/Windows 7. Since there is no formula for it I looked for one on the web and found a UDF that I copied into a VB module. It worked and I got the result I was looking for. I saved the workbook...
  12. A

    Excel VBA: Using external modules

    Hi Guys, I juts don't seem to be able to formulate the right question to Google today, so maybe you can help me out. I have code in several modules (saved as .bas files) and want to use them in different workbooks. How do I do this? All I have found is code for importing the code / module...
  13. J

    List Of Userforms And Modules

    Can anyone please provide a script that lists all of the userforms in my file named Excel Template in Listbox1 and a script that lists all of the modules in the same workbook in listbox2. I don't want to list the macros in the modules though, just the modules themselves. Thanks
  14. J

    Remove Modules ALL Workbboks

    I have been playing around with scripts trying to delete modules from ALL workbooks but no matter what I try it only deletes them from the current active workbook, can someone please help. I have read other forum threads on this site and Chip Pearsons but nothing seemes to work. Before...
  15. J

    deactivate worksheet selection change

    Is there a script that will deactivate the worksheet selection change event so that it stops updating and then when I am finished with the workbook I would get it reset to be activated again. Thanks
  16. J

    Rename Modules Using Macro

    Is this a script that I can use to rename a module in my workbook. i.e. I want to use a script to change code: private sub module1 to code: sub module1 And then when I am finished using it I would then change it back to private sub. I don't want all the scripts in the macros dropdown...
  17. R

    Need to view sheet3 data in sheet1....help

    Hello all excel experts. I have a fairly simple problem that my inexperience is making difficult.I have a column A and column G list generated in Sheet3. I have build a simple droplist interface in sheet1 to fill in the additional data for Sheet3 columns B,C,D,E & F. Here is my problem. I need...
  18. J

    Export Modules from Workbook & Import

    I would like a vba script which will export all modules from workbook named excel template and then would import the modules into ALL open workbooks. Your help would be appreciated.
  19. KP_SoCal

    VBA code to rearrange data

    The block of code below, provided to me by Peter SSs, needs to be modified slightly to accomplish a new task. Instead of just grouping and offsetting the given values in my range for column A, I need to do something similar for a range in column B with a small exception. The offset target...
  20. G

    Populate a listbox from worksheet range... BUT do it with a BAS module call

    Populate a listbox from worksheet range BUT do it with a BAS module call Greetings- I have a column of data (really several different columns of data) and I want to throw it into a userform listbox- not too hard. The tricky part is that I want to be able to throw the code into a *.bas...

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