• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.
  1. The following words were not included in your search because they are too short, too long, or too common: to, another, on, value
  1. B

    Excel VBA Object Variable or With Block Variable Not Set Error

    Hello! I'm trying to figure out where I'm going wrong with my code. Basically I want my code to decide what protections to initiate and how to proceed based on the data in column C on the 'LOA' tab. My table starts at A8 (headers) and is dynamic. My code should be allowing user entry from C9 to...
  2. A

    Modify existing code to save to current directory, remove named ranges, and prevent dialog boxes

    I'm so close. I'm trying to hide and/or PW protect the ClientReport_XLS! in the source workbook. The source workbook filename is dynamic, so I'm not sure how to go back to it at the end of the process. My attempt below tries to hide the ClientReport_XLS! in the new workbook. Besides that issue...
  3. A

    Modify existing code to save to current directory, remove named ranges, and prevent dialog boxes

    Hello all! I'm relatively new to writing macros, mostly just recording or taking things from searches and modifying to (try to) fit my needs. I'm using the code I found here at the link below, and have modified it and it almost does what I want...
  4. prabirmustafi

    convert excel file to text file [ SOLVED ]

    I have the following vba code, it is not working. though it converts the excel to text but not the way i need. Essentially i am trying First Copy the selected sheet from the workbook and create a new sheet with the selected as workbook copy and value paste all the cells starting from cell A1...
  5. Monty

    Marco to check data

    To create a macro in Excel to list all data above the average rate by 40%, you can use VBA (Visual Basic for Applications). Follow these steps:press Alt + F11 to open the Visual Basic for Applications (VBA) editor.Insert a new module by right-clicking on any item in the Project Explorer...
  6. R

    How to write conditional formatting with respect to date and time together?

    Open your Excel workbook and press Alt+F11 to access the Visual Basic Editor. Inside the editor, click on "Insert" and choose "Module" to create a new module. Copy and paste the following code into the module window: vbaCopy code >>> use code - tags <<< Function FormatGanttCell(startDate As...
  7. jb

    Copy data from one table to another table based on drop down list selection

    Hello I have 4 worksheets in one workbook with title timetable, MON, TUE, WED I have one dropdown list in h4 cell of timetable worksheet with values MON, TUE and WED. timetable sheet contains empty table with same format as MON, TUE and WED sheet. I want to copy table values from B8:T15 and...
  8. ThrottleWorks

    How to export cell change event code from one worksheet to another copied worksheet

    Hi, I have a macro workbook. There are normal modules written in this book and some are written for cell change event. Cell change event codes are written in the particular worksheet and these are running fine. Issue is, I need to create multiple copies of this worksheet as per the user...
  9. Keetoowah

    Macro to create multiple .xlsx file based on a column value

    Hi @bijicha try this code, new files are created in the same folder as the Excel workbook Sub test20230402() 'https://chandoo.org/forum/threads/macro-to-create-multiple-xlsx-file-based-on-a-column-value.52165/ Dim rng As Range, cell As Range, joinedCells As Range Dim i...
  10. C

    Copy Data by month to table using Inputbox with Add or Delete Row

    Hello, Please help to copy data from my Sheet (Sheet Name: WrkingSheet) and Paste to TablebyMonth in another sheet (Sheet Name: Diff) (Book12.zip attached here). Month name will provide in Inputbox, and acording to month provided, data of that particular month will go in the Table of that...
  11. T

    Match row and column header and copy data

    Respected Sirs, There are two worksheets in the attached workbook, one is "Entry" and the other is "Final". There is input data in worksheet "Entry" from range C86 to D161 and this range can vary based on selection in the other data fields marked in grey and has not been shown. There are two...
  12. V

    Find Text Within A Row, Then Copy Information Below That Cell To Second Worksheet

    Kevin S Few questions: # Find each instance of text within a row range > Do You mean 2nd rows values? ... only from one row, now based row two? # Once I find a cell with text, I want to copy the cell and a 5x5 block of information, which is two rows below that cell, to another workbook > Your...
  13. Gregg Wolin

    Copy & Paste Until Condition is met (Simple?)

    I'd like to create a macro that (on a button click or other event) will copy the formulaic contents of a cell(s) down a column (or across a row) until a condition is met (generally based on the contents of a neighboring cell). The attached workbook illustrates what I am seeking.
  14. J

    Excel vba to duplicate copy and paste rows for multiple times

    Hi All, can help me with a macro to duplicate rows based on specific cell value in column A? For example, i have data in 10 rows, then I need the line to be duplicated so it appears 7 times. per number so total row will be 70. Enclosed file for reference worked code pasted below >>> You...
  15. shrivallabha

    Help with INDEX/MATCH

    I have read in your posts about self documenting approach when it comes to writing functions and I don't really disagree with the approach in full. In fact, I had employed the simplest of table and self documenting formula approach for simple interest calculation as a test but the response left...
  16. P

    Help with INDEX/MATCH

    Simpler, or just more familiar? If you look at the SUMPRODUCT solution, the question is why SUMPRODUCT and not SUM? Where is the function performing a product? Both formulations create a 2D mask from two 1D Boolean arrays. The mechanism for removing unwanted values is slightly different...
  17. S

    Excel Automate Files based on Cell Text (Path in Cell)

    Hey Guys, I want to open excel file from Cell B2 then copy Column C from that document and return back to current worksheet & open workbook referenced in cell D2 & paste that column W, this process will continue till the end. It will be well & good this loop takes consideration if Condition...
  18. R

    VBA/Excel-assign cell value as workbook name doesn't work, please help

    Hello experts: I am working with 2 excel files/workbooks (using Excel 2007), both files are open. Workbook A, where I run/click the macro button. Opens a text file into excel and copy data then close excel/text file. Now it process this data in excel sheet. It works fine. 1. One of the Sheet...
  19. N

    Advance filter...VBA macro..

    Hi, Thanks for checking it for helping me.. Ignore my first post..here i have explained clearly I have macro in the attached workbook , it will copy data based on the unique records in column 6 and paste it to the near by sheets, How to modify the code according to the below...
  20. B

    Filter Data and send email via Macro

    Hi All, I want to make a macro which will paste data from specific column and then using Data validation will filter the data, post which email will be sent to specific employee for pending work. Sheet "RAW" have all data avaialble, however I do not need all the data. I only need Columns...
  21. A

    VBA to write a formula in column if cell not empty

    I don't know VBA and asking for help on learning VBA to write a formula in column C if the cell in column A is not empty. I have attached a workbook with the formula and the way I am using now is to put the formula in more cells than the user will use. The user may add comments to explain what...
  22. A

    VBA - Search all workbooks in a folder for text criteria and copy row to new sheet

    Hello, I am trying to put together a VBA code to search all of the workbooks in a specific folder (combine) based on user text criteria from an input box (Net Income). When the code finds it, I would like to copy the whole row into a new sheet. My current issue is that I cannot figure out how...
  23. Marc L

    IF statement Through VBA

    Use ISREF worksheet function like in this sample : https://chandoo.org/forum/threads/renaming-tab-names-for-multiple-workseets-based-on-a-cell-reference.29802/post-178108 Another one ...
  24. N

    Macro to copy and paste range of rows based on a row range in a fixed cells. Create and save a excel workbook in a predefined folder.

    Dear Team, Please refer the attached origin & destination files for further clarity. There are multiple data ranges, which include testing results. When click particular "Add a Sample" button set of Rows to be insert add additional sample test results: For fabric count test; Row 111:112 to be...
  25. Marc L

    VBA - advanced filter help...

    As your code has nothing to do with the advanced filter method how can we guess you know it ?! Among many samples from this forum : Filtering out required data Loop on All files of folder ,But Process Only specifically Listed (Partial Named)Files VBA to copy row automatically to another sheet...
Back
Top