false

  1. pcorpz

    would like to include don't show gridline in send email vba

    How can I disable gridline in the create temp file to send to outlook vba? Sub Send_Email() Dim Email_Subject, Email_Send_From, Email_Body As String, i As Integer Dim Mail_Object, nameList As String, o As Variant, ws As Worksheet, ws1 As Worksheet With Application .ScreenUpdating =...
  2. E

    Loop through sheets in another workbook

    Hi all, Need some help adding some coding to loop through tabs in another workbook. The code opens up a file(s) in a specific folder and the aim is to just copy all data in all tabs into one tab within DataDump file. Sub Execute_Files()Dim objFSO As Object, objFolder As Object, objFile As...
  3. tlc53

    Refer to sheet by name stored in cell - Amend code

    Hi, I have the below coding which works fine but instead of referring to the sheet named "Cordis", I would like it to get the sheet name from cell A12 (which has "Cordis" typed in it). Private Sub CommandButton1_Click() Application.ScreenUpdating = False Sheets("Monthly Data").Select CleanUp...
  4. T

    Macro to filter and copy data from all sheets except 3

    Hi Everyone, I need some help, I have a document with 3 tabs that are always there and weekly tabs that get added now the 3 tabs are "Template", "Todo List", and Historic. now the other tabs are all the same and get created from the "Template" tab but I never know what they will be called or...
  5. R

    Error in Code

    i have a code to consolidate the all sheet into one. sheet name is consolidate. but whenever i have running this, data copying twice. :( Private Sub CommandButton1_Click() Application.ScreenUpdating = False Application.DisplayAlerts = False Sheets("One").Range("a1:c1").Copy...
  6. R

    error when saving file in xls and pdf format

    Dear Guys Hi i am having the following problem with below vba codes when saving file to xls and pdf Error Run time Error 1004. Document not saved. The document may be open , or an error may have been encountered when saving. My vba codes are as follows :- Sub searches() Range("b2") =...
  7. M

    use excel while user form open

    I ma trying to set my project so that when my userform is open, I can still select and edit cells. I have tried setting the model to false and using vbmodeless but when I do that the form just blinks and goes away. Any ideas?
  8. R

    An incorrect variable value is being written to a cell

    Hi all, my whole code extract is below and the highlighted bold red parts are giving me grief. Suddenly, last week, out of the blue, this error started cropping up. I need to determine whether a tour type is Coach, Rail, Air or Self Drive. I make this determination near the start of the code...
  9. N

    If, and, or

    How do I successfully nest multiple AND and OR's along the same row? For example, I want to check if K3=V AND AP3 or AR3 or AT3 or AV3 or AX3 or AZ3 or BB3 or BD3 or BF3 or BH3="L" then TRUE, otherwise FALSE. I tried but failed spectacularly.
  10. P

    Update cell after update from userform

    HI i hope you can help me with the code below as this is not working an i am trying to update a cell in a sheet called 'Data' if changes are made in my userform, my range in the 'Data' sheet my range is A1:R17 , ROWS B1:R1 have dates inand columns A2:A17 have areas in, then B2:R17 have numbers...
  11. D

    List Search Between Workbooks

    I am not even sure if this is possible or not, but here it goes. I have two spreadsheets. Each spreadsheet lists a bunch of parts and part numbers. Spreadsheet A is the database of existing parts in the system. Spreadsheet B is a list of parts from a batch. In Spreadsheet B I want to be able...
  12. L

    MailEnvelope problem

    Hi I have some code (below) that I use to send a Named Range via the MailEnvelope function of Excel. It was working for a while but now, when I run the macro to send the e-mail, everything works up to .Send. There are no crashes or error messages but it doesn't send. Before, you would see...
  13. A

    Select Case Problem

    Please consider this userform initialization code. Private Sub UserForm_Initialize() 'Hide frames F1_WCF.Visible = False F2_WCA.Visible = False F3_WCO.Visible = False F4_CCF.Visible = False F5_CCA.Visible = False F6_CCO.Visible = False F7_PTD.Visible = False...
  14. S

    Vba code to just find red font color text in powerpoint

    Dear Team, I am using the mentioned vba code to find text in font color red in powerpoint . The below mentioned code i was using to find red color font text in ms word. Sub newred() Selection.Find.ClearFormatting Selection.Find.Font.Color = wdColorRed With Selection.Find...
  15. willow1985

    VBA for verifying whether a specific worksheet and cell have data or not

    Hello, I believe I am looking for a very simple VBA code but am not sure because of how my current Macro is structured. During one point while my macro is running it checks a certain cell (B16) and if it is blank it will issue a message, "No Results" and will end sub. If there is results it...
  16. O

    If statement false value referencing same cell as formula cell

    Checking a outside model that I received and the if statement false value is referencing the cell in which the formula is being written. If I try to recreate this, I obviously get zero, which is not the value the cell in the model is returning when the logic is false. My question is, how is an...
  17. G

    VBScript code to wait for Refresh All before saving excel file

    I have put together a VB script to refresh all excel files in a folder without opening them. The issue I am facing is that the excel files close before allowing the data to be refreshed. Is there any way to force the VB Script to wait till the data is refreshing and then save the file? Also, I...
  18. A

    Target.Column + 8?

    Hello I have an Excel spreadsheet that will be used for data entry without userforms (to allow for Mac users). I intend on password protecting it to make data entry easier. It works as I hope however I found the code on the internet and whilst it works I don't quite understand one line of code...
  19. A

    VBA for copy and paste between worksheets

    Hi all, I have a worksheet that has multiple sheets of data, and i want to consolidate the data into 1 page of unique values. I have this code written but want to shorten it by using some loops for the copying and pasting. What my code does: 1) copies data from column "Project Name" and...
  20. willow1985

    Macro code keeps getting hung up

    Hello, I have the below code that used to run fine but now it seems to be getting hung up and excel now freezes and the macro does not complete. Any idea what could be causing this? Thank you Application.ScreenUpdating = False Application.Calculation = xlCalculationManual...

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