vba

  1. Rob_010101

    VBA to turn a row into values only (based on list item)

    Hello, Column J has a data validation list with the following 3 options: 1. Pending 2. Fit for work 3. Not fit for work I would like to add VBA which converts the row (from A to I) into values only (i.e converts any formulas into values) when "fit for work" or "not fit for work" is selected...
  2. R

    Find the value in a string using the corresponding phrase

    Hello everyone! I know excel well, but I don't know vba. I would be grateful for any help. Based on the table (М-55 МP) i need to use any tool to build a module that, when checking a product line with options, would automatically display its production date. Line to check -...
  3. M

    automatically hiding a row

    HI I hope you can help, I have been looking online and either I dont have the feature or i cannot do it. I have a table Column B to F and I want to hide the row if column F shows the word Completed. I have looked at conditional formatting but cannot find how to hide, not even sure where to...
  4. E

    Go to ActiveSheet.Range

    I can't seem to get this VBA to go to E15 ! Otherwise, it is fine. Private Sub Worksheet_Calculate() If Range("E24").Value > "1" Then MsgBox "CLEAR" ActiveSheet.Range("E15").Select End If End Sub Thanks
  5. E

    Disable Autocomplete VBA in a cell range

    For some unknown reason, whenever I paste a letter in cell e2 that is the same as the first letter in cell e9, it Autocompletes rather than just keeping the one letter "F". If I shut off Autocomplete it works fine. Similarly if I move "FLAME" to another column it also works fine. This happens...
  6. S

    VBA : Reflection Workspace extract all screen/pages

    Hi Good People, Currently I am working on a tool that would extract Reflection Workspace data to an excel file. The proble is, there are multiple pages or screen of a specific screen. Like for example. I managed to copy the first page of the screen, then you have to press page down key inorder...
  7. M

    code to include a column or more based on checkbox

    I have this code that sends a range as a picture into an outlook email. I added checkboxes and want to be able to modify the code to send the contents in range B4:B17 and one or all of C,D, and E depending on if the checkbox is true. I have no idea how to do this, can anyone help me? Sub...
  8. M

    Add text before pasting pic in outlook

    I have the following code that works most of the times, sometimes if gives me this error when using it consecutively too quickly: Run-time error 1004 CopyPucture method of range class failed. But I guess I can live with that :( What I need is to be able to add add text before the picture in the...
  9. S

    Search for entered value in another tab

    I have a spreadsheet with multiple tabs. In the tab titled "Cal/PM", The user will make an entry in Column A, and is supposed trigger the code below: Dim Asset As String Dim spec As String Dim cal As String Dim pm As String Private Sub Worksheet_Change(ByVal Target As Range) ' Check if the...
  10. R

    Autocomplete doesn't work between pages in the same worksheet

    I have 02 issues with autocpmplete.... first - I have a worksheet with multiple pages (alomst 30 pages) and autocomplete only work in the current page but when I scroll down to insert data in a new page it doesn't work second - another worksheet with a table and I have 4 coulmn where i insert...
  11. G

    Why does #VALUE error in VBA function occur when creating a ReDim Matrix of Stock prices from a Named Range?

    ' Spot = Spot Price of the underlying ' K = Strike Price ' T = Option Maturity in Years ' rf = Interest Rate in decimal (i.e, for 5%, use 0.05) ' vol = Yearly volatility of the underlying in decimal ' n = Number of time steps ' OpType = 'C' for Call and 'P' for Put ' ExType = 'A' for...
  12. S

    Auto protect certain columns after 5 minutes inactivity

    Hello! I have prepared a document in which about 50 volunteers must indicate their availability on certain dates each month. The columns in which they indicate yes or no should always open for editing, for anyone. In contrast, columns A through L contain information they should never be able...
  13. J

    Need VBA code to get the list of top 10 recent files from Sharepoint link on the excel ribbon as macros in excel ribbon.

    Hi, I need VBA code to get the list of top 10 recently modified files on the excel ribbon as macros in excel ribbon. The list of these files must be obtained from the Sharepoint link.
  14. C

    How to automatically paste the data from one sheet to another using VBA

    Hello All. I created a macro wherein the data captured from SAP and imported via power query will automatically pasted on another sheet of the same worksheet, what happened is that even though the query is updated once I ran the macro it captured the previous data generated from power query...
  15. N

    how to automatically clear text if text in another cell is removed

    i am a beginner at vba, and am building a code to automatically clear text in column J when text in either column H or I is removed. i have this code already, but text in column J is cleared only when text in column I is removed. when i tried removing text in column H, text in column J doesn't...
  16. J

    Update Power Query through VBA

    Upfront Admission: My VBA skills are limited to one lines of code and plagiarism. So I will be zero percent offended if spoken to like a Excel baby. That said. I am working on a Power Query file that is reading a folder location of PDF files. From those files, I scrape out permanent information...
  17. J

    Filter ListBox on a UserForm using a ComboBox

    Hi, I created a UserForm to enter data into a worksheet. In that UserForm I have a button that opens a ListBox showing all the records stored in the worksheet. I want to filter this ListBox using a ComboBox based on my "Area" column. I populated the ComboBox using unique values from the column...
  18. M

    Copy worksheet with listobject

    How can I reference the listobject when I copy the worksheet within the workbook? For example: MyTable is the current name of the listobject in the worksheet MyWorksheet.
  19. L

    VBA Match function for two criteria / columns

    Seen many close answers to my simple question, but is there an elegant way to use the Application.Match function for 2 criteria to match against 2 columns key1 = "QI" key2 = "Episode" keycol1 = 2 keycol2 = 6 application.match on 1 criteria works perfectly row = Application.Match(key1...
  20. B

    Need code that converts colors from the RGB code to the Natural Color System (NCS)

    I have this spreadsheet with 255 RGB Codes. I need a code to convert them to the Natural Color System (NCS). I've tried AI solutions, which gave me VBA codes but they don't seem to work. Example of AI generated VBA code: Function RGBtoNCS(r As Integer, g As Integer, b As Integer) As...

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