vba code

  1. S

    VBA code help to save exported file using the information in a cell

    Hi, I am not sure how to do this. I have code that is exporting a spreadsheet as a CSV file, but I would like to name the file based on information in Cell J2 on a spreadsheet within the workbook called Int_Check. Can you please help me modify the code to rename the exported file. I would like...
  2. S

    VBA code to add cell information to file name

    Hi all, I am working on a macro to save off a file. We would like to pull a few cells of data from a spreadsheet into the name of the spreadsheet. The start date is in cell B3 on the INPUT tab. How can we pull this into the file name using VBA? I think the dashes will cause a problem so we can...
  3. A

    Index Match Conditional Formatting using VBA Code

    Hi All Please advise on a VBA code which i can use with Index Match for conditional formatting. my conditional formatting formula is as below =(Combined!$A2=INDEX(Summary!$A:$A,MATCH(Combined!$A2,Summary!$A:$A,0))) I want to highlight cells (any colour) if any cell in Column A from the...
  4. Jyggalag

    Save file as PDF in VBA (macro)?

    Hi all, I currently have the following setup: I have marked everything that I want to be exported into a PDF, which works when I manually save the file as a PDF. However, I do also have a macro ("Save file to folder") as seen above, which saves the file (albeit as an Excel file) to my...
  5. Jyggalag

    Can somebody help me test my VBA code and fix it if it does not work?

    Hi all, I have this VBA code to write an email body text: eBody = "Dear person," & "<BR><BR>" eBody = eBody & " 1Text text Text text Text text Text text Text text Text text Text text Text text Text text Text text Text text Text text Text text Text text Text text Text text Text text (Text text...
  6. Jyggalag

    Create macro to separate first name and last name in email and plug it into columns

    Dear all, I am currently working on a spreadsheet that looks like this, albeit the real one is much larger: I was wondering if there would be some way in which I could create a macro or some VBA code attached to a macro where, once i press it, it takes the e-mails from C2-C12 and takes the...
  7. C

    Need URGENT VBA help ASAP with Data Entry Cell Macro

    Hi! I could really use some help ASAP . This project is due in 24hours and I have yet to find or work out a solution to my problem. I have a task manager workbook with several worksheets that I have created to allow for task management tracking based on completion dates. Weekly, monthly...
  8. kelly mort

    VBA Image Compressing Code Amendment Needed

    This code was written for me by @Jaafar Tribak . I want to update it at the line below but I am not able to do it as I want. sFolderPath = ThisWorkbook.Path & .PathSeparator & "PASSPORT PICTURES" & .PathSeparator Instead of compressing from the parent folder, "PASSPORT PICTURES", I have...
  9. T

    Pulling data from master copy into multiple sheets

    Hi, I need a VBA code that copies data from a 'master sheet' and pastes it into the relevant sheets. The 'master sheet' is named "BCA" and then I have many sheets that are renamed according to the value of ("AZ1") in their respective sheet. What I need is a VBA code to, for each sheet, search...
  10. T

    VBA code HELP - filter sheets and delete unwanted rows

    Hi, I am not very proficient with VBA code (hence why I am posting this). So I have a workbook that automatically copies and pastes all the data on the first sheet to every other sheet when the first sheet has data pasted into it. What I need now and can't figure out the most efficient way to...
  11. A

    Changing order of the digits in a number in excel using VBA code

    I want to change the order of a string such as 32cd4f18 so that it gives an output of 23dcf481. So the string should be swapped in pairs. If someone could help me with a VBA code that would be very helpful.
  12. E

    Overlapping labes on Pivot Charts

    Hello, I created pivot charts through power query and every month I add new info to the database and the charts update. They are line charts comparing two values. The problem is: when the charts are updated with new values, sometimes the data labels overlap... is there some vba code to prevent...
  13. G

    VBA Code for Automatically moving rows to other sheets in a workbook based on cell values in a column

    I am hoping someone can assist me with this question. I have attempted to construct code to attach to a sheet in my excel workbook based on information I have gleaned from internet searches and forums . What I am trying to achieve is for the sheet to automatically place a copy of a row from an...
  14. O

    VBA Code Not allowing multiple & repeating selection

    Hi, so I am trying to find which item was purchase for each order. And so the drop down list in in column C and I am trying to allow multiple selections with repetitions. But once I put in the code, for some reason it would either NOT update or the code is not working. This is a code I found on...
  15. H

    Date Format VBA code

    I have searched the internet tirelessly for an answer to this question that I desperately need more understanding on. What I am trying to do is create a macro that will take raw data on one sheet and put it into a pivot table on a new sheet - pretty standard procedure right? The issue is that...
  16. I

    Automating row offset

    Hey all! SO far i tried this vba code and it works, but the cons is that it only works for 12 rows and i want is to make like it works for a bigger amount of rows. I am kinda new to this things and just trying to figure it out. What it does is its reads cell value in J5 and if that value is...
  17. E

    Linking two sheets without source sheet (bi-directional linking of sheets)

    Hi all, I am new here, but couldn't find the answer in previous posts. Feel free to send a link to an old post solving this issue if you know of one! Now to my problem. I want to link two worksheets in the same document, whereby if changes occur in A, the changes should also be entered in B...
  18. D

    VBA To run multiple modules that have multiple subs()

    Hello, I am trying to see if there is a way to have a module in VBA that runs different modules that have different subs(), I am going to put that into a button a user can press to do so Example: Say it is called MasterMod I want mastermod to run Mod1 Mod2 Mod3 Mod 1 has code for sub Name1()...
  19. R

    vba array remove numbers based on specific text content

    Dear All master, Please help me to make vba code. What I want in the bca sheet in column B which only contains "KR AUTOMATIC LLG" then the numbers are removed and I have marked yellow. LINK https://drive.google.com/file/d/1iok21UA86tH0KMTyTRMqiBYoCSukJfYw/view?usp=sharing Thanks roykana...
  20. A

    VBA Code for Automatic Summary/Report

    Hello Everyone, Good Day ! I'm learning about excel vba coding and i have an excel file which is something like small invoices sheets and i have added one more sheet like summery/report. Only i want to make copy and paste some specific cells from invoices to summery sheet, attached small...

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