vba macro

  1. B

    Macro transposing column to rows in step of 15 rows

    I have a table with columns A-F and several thousand rows. I want to be able to easily transpose the the first rows (2-16) in column E as headings on a new page. From the F Column i alse need to transpose the data in row 2-16 to the new page. i need to do this for the entire F column. Every 15...
  2. M

    VBA Macro - Transpose with conditions

    So I need your help! Firstly I am a student and don't really know much about VBA, because my teacher skipped those classes, whatever... I have a table with a long number of rows and data in columns.I wanna transpose them to rows and deleting duplicates, so it's better to review the data. I'm...
  3. B

    VBA Macro to read text file and assign values to lines

    Hi all, I am hoping someone can help me make my excel spreadsheet read a text file line by line and assign variables to those lines so they can be referenced further down the marco to hyperlink. First I would like the macro to read a .txt file line by line and give say line 1 = certain text...
  4. V

    Excel workbook crashing when trying to open with vba Code

    I was trying to open a excel workbook with VBA macro code Workbooks.Open("Filepath\Filename.xlsm"). It is crashing as soon as it is opened. When I am trying to open manually then it is not crashing. Any idea or suggestions please. Looking for help!
  5. Ed_Filipino

    Vba userform

    HI, Im a newbie here I just want to ask help because I have hard time finishing my VBA userform. I have a 5 column table I a excele worksheet. I want to have a userform that have 5 textbox according to the headings of the 5 column, im planning that in the 1st textbox if I entry the data the 4...
  6. 0

    Button with Macro that copies and pastes row into new sheet if cell has a certain value

    I need help with my macro. I've got a table of data A1:R35 in sheet "Active" and when the value in column R is 100% and you press this button I want it to copy and paste that whole row into the next available row in sheet "Completed". Here is my current Macro: Private Sub...
  7. B

    Assigning color depending on value in Excel 2010

    Dear All, I think I need to write my very first VBA macro, but I have no idea on how to begin (other than how to open the VBA editor). Maybe I don't need the VBA but I don't know how to do it with the basic Excel functions. PLease note that I am working in excel 2010. So what do I want: I...
  8. A

    Macro to write a macro

    I've written a macro that processes seven reports every day. My bosses have asked me to set up a macro that adds to the original macro when new reports become available. In other words, a macro that creates a macro. If nothing else, I figure I can create a blank script in Word, an input box...
  9. S

    VBA EXCEL macro to create OUTLOOK MEETING invitation

    Hi Guys, I am looking for simple Macro which would 1) create one meeting invitation 2) would get data to subject/recipients/subject etc. from MULTIPLE cells of same worksheet Could you help me? I really am looking for simple solution :)
  10. A

    Use drop down list from cells as report filter for multiple Pivot tables in same worksheet using VBA MACRO

    Hi All, Please note:- I know about slicer but don't want to use and wants a vba macro only. Below is my query I've 3 pivot tables in same excel worksheet. All 3 pivot tables have 5 report filters and out of them 4 report filters are common. I want to use a drop down list from cell b4, b5, b6...
  11. E

    Refreshing Essbase worksheets with VBA

    Hi, I was wondering if anyone knows how to select the "Refresh All Worksheets" for essbase worksheets in a workbook, which if done manually, would be found on the essbase tab's ribbon. I'm aware that there's an add-in for specific essbase functions that would enable me to do this, however the...
  12. E

    VBA - Move Data from one Worksheet to Multiple Sheet

    Hi Friends, My main data in Sheet1 but i want that data in Sheet2, Sheet3, Sheet4 in VBA For Example - Data in Sheet1 A - 100 B - 200 C - 300 So i want this data like Sheet2 A - 100 Sheet3 B - 200 Sheet4 C - 300 Is it possible, Please help me ?
  13. J

    Setting worksheet name not working?

    I'm trying to set the name of a worksheet using the following code, and it's failing to process for some reason. Can anybody help me out with this? Sub CreateNew() intTabs = Worksheets(1).Cells(18, 2).Value For i = 1 To intTabs strWsName = InputBox("Please name Sheet" & i & "."...
  14. O

    Formula or VBA Macro for extracting a Hyperlink target file

    Hi I want a formula or a VBA Macro for extracting a series of hyperlinks target files and putting it into user-defined folder. Will you please help me? I know how to extract a hyperlink address and put it into a cell but I can find it enough for this purpose. Regards
  15. J

    VBA Macro to add a Particular Text in Each sheet.

    I want a Macro that a same text will be copied to different sheets, but the condition is that the text will appear after the end of used rows of the sheet. I want to specify the sheet name in the Macro code & in Column E after the end of rows the Text will be appear.
  16. L

    Macro to consolidate various files + select sheet

    I'm using the macro below to try to consolidate 4000+ files, but i need to be able to consolidate reports that are divided by the same sheet name in each file (around 8). What do i need to change so i can input the sheet name that i want and then excel consolidate just the reports from this...
  17. A

    VBA Macro error

    Hi, I am trying to create a macro to saveas a file based on the information in cell C80. The macro is throwing an error on the last line saying compile error syntax error. Can you please help. thanks, Sharon Dim Path As String Dim FileName1 As String Path = "C:\PS CANCEL" FileName1 =...
  18. A

    Macro erroring out when I execute

    Dim FName As String Dim FPath As String FPath = "C:\PS CREDIT" FName = Sheets("Request Form").Range("C80").Text ActiveWorkbook.SaveAs FileName:=FPath & "" & FName MsgBox "File Saved to PS CREDIT folder" Hi When I try to run this macro I am getting an...
  19. J

    Copy rows to different sheets if sheet name matches with Text of A column Tweak required

    Sub CopyRowDemo() Dim Rw As Long, LstRwRaw As Long, NxtRwDest As Long Application.ScreenUpdating = False LstRwRaw = Sheets("Raw Data").Cells(Rows.Count, "B").End(xlUp).Row For Rw = 3 To LstRwRaw With Sheets(Cells(Rw, "B").Value) If .Range("B6") = "" Then NxtRwDest = 6...
  20. A

    VBA Macro take cell value from multiple files and populate the values in a different workbook.

    Hi Everyone, I have multiple files with the sheet name "Admin Costs" with varying row numbers in each file. I want to take the value from Cell A2 and paste that value in a different workbook. But the tricky part is that I want to past that value equal to the number of rows I have in Column A...

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