macro

  1. The Ruff Report

    Help with macro to loop through cells and save a file

    It's been awhile since I've created this macro and I'm having trouble. I have a workbook "Sales" with a worksheet "Names" that has 100 names starting in cell A1. I want to copy the name in A1, paste into a new workbook (it updates a bunch of figures), and save that workbook under that name. I...
  2. M

    Excel Macro to insert picture into excel from SharePoint or website !

    Hello everyone! I was working in a macro where it will insert for me pictures from my C drive, however, I need to exchange the code to insert the same pictures from a workspace or SharePoint or website. I have tried but I was not success. please I need your help. this is the image address"...
  3. O

    VBA Modification: criteria on two subfolder to open

    Hiya I've been using a VBA from this: VBA to List all Folders, Subfolders and files in a directory Option Explicit Public Sub Main_List_Folders_and_Files() With ActiveSheet .Cells.Clear List_Folders_and_Files "C:\list", .Range("A1") End With End Sub Private...
  4. P

    Solver Macro on Multiple Sheets

    I am trying to run a macro calling the Solver functions on multiple sheets. The Solver area works on a single sheet, but returns the error message on the 5 worksheets I am attempting to calculate. Any advice is most welcome. Also, running this macro switched calculation mode to Manual. I have...
  5. A

    Microsoft Excel VBA to : Find text from specific cell.

    Hello, my name is Andrian I would like to have a Search Macro box to click to find text from specific cell. I had a macro just to find the text. (CTRL + F) it works just fine, but i need to have the macro highlight the text/cell from the text found from searching the text. because workers here...
  6. K

    Is it possible to use macros to bulk group and ungroup in password protected sheet?

    Hi everyone, I have a password protected spreadsheet that I can easily group and ungroup while it is protected. I am wanting to create a button to easily do a bulk group and ungroup while the sheet is protected. I am happy to have 2 buttons (1. Group, 2. Ungroup) instead of just 1. Is this...
  7. T

    Auto Email list

    I'm currently trying to set up an automated email system. The system is supposed to go down a list of email addresses and email every customer. The code I have so far in vba is: Sub Email() Dim EmailSubject As String Dim SendTo As String Dim EmailBody As String Dim ccTo As String EmailSubject =...
  8. L

    Excel VBA - Return Specific Data from Master Sheet Based on Date Search + Duplicate Certain Items

    I am a relative beginner to VBA and am a bit over my head on this problem. Not sure anyone will be able to help with this, but I suppose typing my thoughts out might help me to wrap my own brain around exactly what I need to do in any case. The Problem I have a large worksheet of data in one...
  9. B

    VBA macro for removing entire alphabet some special characters

    I have a long list of strings in a1 but I want to extract the numbers from the strings. Additionally some of the strings have special character aside from just the alphabet that I also want to remove. Is there a macro that exists that will delete the entire uppercase and lowercase alphabet from...
  10. S

    when I copy the table as picture, another one is creating from the same table, using VBA macro

    guys i made a macro in excel i want to copy the table when i run this macro the table area duplicating itself please help me, thanks Sub screenshot() Dim w As Worksheet Range("D1:F7").Select Selection.Copy Range("C4").Select ActiveSheet.Pictures.Paste.Select 'when i remove this...
  11. K

    Need to create/source a macro/vba/program that auto populates info based on matching word criteria for community support agency

    I just started working with an agency that provides a variety of resources to community members in need. They have a lot of information spread out over various documents and l'm trying to make finding and providing the needed info as easy as possible. know this is asking for a lot, but this...
  12. J

    Issue with Macros and renaming files

    Hello all, I'm relatively new to coding, and a lot of it kind of goes over my head so I apologize if I don't understand right away, and I also apologize if I don't make much sense trying to explain what my goal is. I've set up some macros for my work, and they work relatively fine - however...
  13. B

    VBA: import files to new workbook, separate sheets

    Hi all, I'm fairly new to VBA beyond a little tinkering here and there. I'd like to import multiple text files into a new workbook with each file on a new sheet. I found this code on another thread but this seems to be coded to import the sheets into the current workbook. I've tried changing...
  14. Chris_010101

    Simple search macro

    Hello In C1 i'd like to be able to type a name and when the search button is clicked, excel performs the search function. I've tried recording a macro for this but it keeps going to an incorrect cell. Is someone able to help with VB that I can assign to the button? Many Thanks
  15. W

    Macro to Move

    Hello all, I need help with a macro to move rows/cells, similar to deleting a row and shifting everything up, but not, because there is important content outside of the table that should remain static. So, to clarify: The area I'm speaking of is from D4 to F15 only. Within this area, if...
  16. S

    VBA - Compare Two Sheets and Pull Results on New Sheet

    Hi all, My skill in translating logic into a formula and especially VBA is very limited. Hopefully the below makes sense. Basically I was hoping for a VBA code that pulls through results on to a new sheet by using the reference column A (Order Ref) in Sheet 2 and comparing columns of the...
  17. E

    Question about filtering a table from a query through VBA - Dates

    I have the following macro: Sub FilterByDate() Dim targetDate As Date Dim wsDashboard As Worksheet Dim wsShippingQ As Worksheet Dim tbl As ListObject Dim colNum As Integer 'Define the worksheets Set wsDashboard = ThisWorkbook.Worksheets("Dashboard_Today") Set...
  18. E

    VBA code not working : ActiveWorkbook.FollowHyperlink Address:=FileName

    Hello, Would anyone know how to make this bit of the code work ? I use a Mac and this is to save a file as pdf in a folder in google drive... When I run the code, there is an error message "Run-time error '-2147221014(800401es): Cannot open the specified file." And the debug highlights...
  19. K

    LookuUp In VBA

    Hi all, I have the below code, currently I have hard coded the email to address but I have a list on a "Variables" tab, range J2:K10 (also below) with where the report should go. Rather than updating the code, I was wondering if I could lookup to this list and return the right to person...
  20. k3yn0t3

    Simple Macro to Copy/Paste Cells onto Another Sheet

    Hi everyone, Can anyone give me a hand with a macro that will run and copy the results generated on one sheet onto another sheet as values? xl2bb sheets below to illustrate if helpful I need it to... Enter a “1” into cell D108 on “OnOff” sheet Refresh entire workbook Copy and paste *as values*...

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