matchcase=false

  1. L

    Code only running once then error 91 with block error

    I get an error when running this code a second time. If I copy the word 'Changed' from the field header in the workbook and paste it in the FS14 = "Changed" line it will run ok again one time, then errors out again. Line erroring out is the MsgBox Rng14.column line. Sub DDD() Dim lri As Long...
  2. imback2nite

    Help with Deactivate

    I'm having trouble with the Deactivate. The code works now but it keeps taking me back to the original page and not the page the user is trying to select. I'm probably doing something dumb but I can't figure it out. Thanks for any help! Private Sub Worksheet_Deactivate() Sheet5.Select...
  3. imback2nite

    Help with Worksheet Deactivate

    I'm having trouble with this code working as a deactivate. As of right now I have it working as a 'Update Name' Command Button which works fine but users are forgetting to 'Hit' the button and the names they are looking for are not showing up in the updated list. So, if I could have the list...
  4. G

    Macro using Find/Replace to enter a function

    I have a small macro that uses the State entries to add Sales Regions to a spreadsheet. The macro adds a new column right of the Zip Code column, copies over the States and then uses the find/replace function to enter the Sales Regions. It's most likely not the most efficient method but it...
  5. D

    Need my code to loop through all sheets

    Hi Masters of Excel, I can't seem to find a way to have my code loop through all sheets in a workbook. I've never worked with loops before. What I have tried only goes to sheet 2 so I have removed that. Any thoughts to get me in the right direction. Here is the code I am hoping to execute on...
  6. B

    Macro on replacing 00/01/1900 00:00 to blank

    Hi, Please assist me. I'm tryig to create a macro replacing 00/01/1900 to blank. I have used control H to replace the date but it's not working. Please advise. Sub Macro5() ' ' Macro5 Macro ' ' Sheets("QA Coaching Data").Select Range("J2").Select Range(Selection...
  7. K

    Hyperlink to run macro does not run

    I have the following hyperlink in sheet named 'Process' in cell B34: Text to Display: CLICK HERE TO PERFORM THE FOLLOWING: Type the cell reference: B34 The macro code is: Private Sub Workbook_SheetFollowHyperlink(ByVal Sh As Object, ByVal Target As Hyperlink) If Target.Range.Address = "$B$34"...
  8. R

    Find first blank in all sheets

    Hi All I am attempting to loop through each sheet in a workbook, find the first blank after "A2" and therefrom create a range. The problem seems to be that whatever sheet the macro is assessing it always finds the value for the first blank on Sheet1 For Each rs In Wb.Sheets...
  9. M

    VBA Find & Replace

    I am using the following to replace text strings in a selection but I need to use the Lookin:=xlValues but it doesn;t seem to like itSelection.Replace What:="*H*", Replacement:="", LookAt:=xlPart, _ SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _ ReplaceFormat:=False Is...
  10. Z

    VBA to replace multiple values - include list

    I am currently using this code to replace words in my data: Sub MultiReplace() On Error GoTo errorcatch Dim arrRules() As Variant strSheet = "renamelist" strRules = "A1:A100" Set rngCol1 = Sheets(strSheet).Range(strRules) Set rngCol2 = rngCol1.Offset(0, 1) arrRules =...
  11. K

    VBA in Excel for Mac 2016 now thinks that ChrW(&H1D47) is not a superscript

    I upgrade from Excel for Mac 2011 to 2016 and am now getting the following error. This code takes |b and changes it into superscript b. Dim gg As Range Set gg = Range("a1:s16000") gg.Replace What:="|d", Replacement:=ChrW(&H1D48), LookAt:=xlPart, _ SearchOrder:=xlByRows, MatchCase:=False...
  12. D

    Replacing Special Characters Macro

    Hello! I know I am probably making a very basic mistake that my brain just isn't picking up on. I am writing a simple macro to replace special characters in a column (,.?#, etc.). This has to be used in several different sheets and the columns will vary. So I have the following code...
  13. S

    VBA: How do I stop this code from doing all of the screen flicking?

    I recorded this macro a little while ago, and I'm hoping someone can help me clean it up a little bit. What this macro does when it starts is it does all the screen flicking that hit the code when I was recording it. I'm getting a little better with VBA, and have been making my additions to the...
  14. M

    Change recorded macro range to use selected

    I recorded the macro below. I would like to change it so instead of the cell range identified, I would like it to run on whatever cells I currently have selected. Ideally, I would open a workbook with this macro, then open another workbook. In the second workbook I would highlight a range of...
  15. F

    Error Message when no data available

    Hi, appreciate any help with this frustrating problem. I am trying to retrieve statistical data from various monthly sheets ( Jan, Feb, March etc.,) to a single master sheet. I have set the code up to retrieve the data and all goes well until we get to August. As the data is not yet available...
  16. S

    Help with On errror Goto

    Hi everyone, My company is purchasing thousands of item via Paypal and I am building a macro to get data from checkout page. Normally I want to get the Funding type and Funding sources. So here is what I do: 1) Copy whole content of the checkout page (Ctrl C) 2) Paste all content into my...
  17. D

    Need Macro to Carry To The Last Line in Sheet

    Below is the Macro I am using, but currently it only carries down to row 12. Can someone please help me modify so the Macro carries to last last line of data in the sheet. I will be using on multiple sheets in the future, so the row count may vary. Sub Byers()' ' Byers Macro ' ' Keyboard...

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