visual baisc

  1. A

    Looking for help in Excel Macros scripts

    Dear expert, I have a problem to solve I have written a script in Macros which will monitor a column value let's say C14 is column, if value get changes after 1 minute its fine if not then restart workbook. this script work properly for few days but after that script gets stuck and monitoring...
  2. S

    Combined CSV files

    This might be very easy for one of you but I can't anymore, I am not that expert in Visual Basic. I'm trying to make a new file that asks with a button for two files. Both have vehicle information, one in column A and the other one has same information in column B (as the images show). The...
  3. Rob_010101

    Paste Values in VBA

    Hi All, The following code moves data to an archive sheet, based on the value selected from a list in column P. It also looks to see if filters have been applied and ensures the data is moved to the next available row, regardless of filtered data. It works perfectly, however, I'd like the...
  4. T

    I am needing help making a macro that will save me time in my job

    I am looking to make a Macro in VBA that when run: creates a new sheet called "results" after the first sheet (to the right) on the original sheet search Colum B for if any of an array of words is present in a cell if it is to select the row and move it to the sheet called results delete the...
  5. Jyggalag

    Please help me edit my VBA code/formula

    Hi all, I currently have the following VBA code attached to a macro that sends out an email and attaches a word file to it when I click it and sends this out to a list of emails (and also BCC's a list of emails): Now I want to edit this file so I can target a list of emails in the emails...
  6. S

    Template File To Open Up Various .XLS Files within the same folder

    Hello. Here is what I'm trying to do. On a monthly basis and within the same directory I could have 5, 10, maybe 20 files that need to be processed. This number will vary.... Directory - C:\Monthly Processing Now on a monthly basis, the files within Monthly Processing will also be named...
  7. C

    Validating Entries VBA

    Hi All, Currently, no field can be empty, when I hit save. My question is, how can I make it so that when Primed is selected and any other fields are empty it would auto writes N/A on the database when I click save? Function ValidateEntries() As Boolean ValidateEntries = True...
  8. R

    Variable Hyperlink in VB

    Hello I hope some genius out there can help me. I have a cell in sheet 1(call it the source cell), hyperlinked to a hidden sheet. The text in the source cell and Sheet Name are the same, so when i select the cell, the hidden sheet opens. Here is the VB routine i am using: Private Sub...
  9. J

    Range question

    Hi, I have a question, I hope I can explain my self clearly I have a form called userform1, this form is to show information about people , I can find them by id or by name, I can modify information from that form. As you can see, beside volunteer name box, there are two search buttons, if you...
  10. D

    Copy the sum of two cells and paste into one cell

    I have a question, is it possible to copy the values from 2 cells in one workbook and paste the sum of those two values in a single cell in another workbook? Using a VBA macro Example, A1 and A2 in workbook1 worksheet 1. Copy the values of those two cells and get the sum of those two values, A1...
  11. D

    Middle man workbook to Copy paste values from one workbook to another

    Hello, I was wondering if there is a way to have three workbooks. Workbook1 has multiple sheets, example sheet1, sheet2, ect, with tables with cells containing questions and then the cell next to it where values can be typed into. Workbook3 has the a similar format but the cells that need...
  12. D

    VBA: Refresh all pivot tables when I delete lines in my dataset

    Hello Guys I have in my excel spreadsheet a high number of pivot tables and a worksheet called "Data". I would like to know if is possible after delete some lines in this Data tab, if the all pivot tables can be refreshed automatically. Can you pls help me?
  13. R

    Visual Basics code needed

    i need to make an list to keep up with inventory. I have 4 columns. Column A is the facility it was sent to, column b is the it item number ( 1- 120), column c is for the date sent out to the facility and the column d is the date that the item was sent back to our office. what i need is a code...
  14. VBA learner ITG

    VBA - Advice on How to turn off or on excel calculation with status in a cell

    Hi all, I wonder if I could get your advice if possible to perform the below requirement. The below code is assigned to a shape within excel which basically turns off or on excel formula calculations when the button is clicked. Sub btn_autocalc_Click() If Application.Calculation = xlManual...
  15. rediffusion

    Run Visual Basic after starting Excel.

    I find this code on site. Private Sub Workbook_Open() UserForm1.Show End Sub It's not working. I want to open «Visual Basic» after starting «Excel» then open the window 'Module1' for example. Is it feasible?
  16. seba64

    sibling folders paths in VBA

    HI. I have an app. that read many files. now requestme the files must be clasificated in different folders. Now i read the files from application.path & "\data\*.xlsx", but now the folders with files are out of application.path. now!: .................................................. ...
  17. R

    Time & Attendance Excel Worksheet

    Hi There We have a Fingerprint reader for our staff Time & Attendance. Attached the standard report from the device - untouched https://www.excelforum.com/attachment.php?attachmentid=607220&stc=1&d=1548060569 Now in this report, it give a daily breakdown of the Employee Check IN, Breaks and...
  18. B

    Hiding and unhiding multiple cells based on one cells values.

    Hello everyone, I'm not well versed on VB or Macros, and that will be Obviously apparent when you see my workbook. I'm trying to write a code that will allow me to hide and unhide sheets based on once cells value. However, my code writing is terrible. I've been racking my head for 2 or 3...
  19. U

    VBA Query - Copying Contents from Outlook into excel

    Hi All, Hope everyone is well. I wanted to create a macro in excel in which when I run it will look into outlook and for this specific email and copy and past the table data from this email into a same size empty table into excel. In more context I have to copy and past this from the email...
  20. M

    Finding which 4 boxes can hold product X's dimensions

    Hey, Friends; So lets say I have 4 box sizes with their dimension in a list. I also have an array of objects to fit in the boxes with their own dimensions. I only want to fit one item in one box so i want the box that fits the item the best. Under my "box that fits" column, I'd like a formula...

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