wbk

  1. S

    VBA to Transfer data from one workbook to another

    Hi all, Still learning VBA and this may be a really basic question for all, but I am struggling to find the answer while surfing. Would really appreciate some simple explained help to learn. TASK I want to transfer data from one workbook to another. using a "transfer tool" which i can email...
  2. S

    Consolidate data from several sheets between two “bookends” into one sheet

    I'm looking to tweak some code I already have that consolidates data from multiple sheets into a single, master sheet. Currently the VBA selects all sheets that starts with the prefix "A-", copies select cells and pastes them into the consolidation sheet. The change I would like to make is...
  3. M

    Want to hide the ribbon on every opened excel file - VBA

    My code below opens an excel file using a user form. My code for some reason hides the ribbon every OTHER time it opens an excel file rather than every consecutive time. Am I missing something? Is there a way to narrow down the hide ribbon to the new opened workbook and active sheet? Private...
  4. M

    Would like to select cell A1 every time a workbook is opened...

    I have a program that opens up various workbooks, and I would like to have A1 automatically selected after a workbook is opened. My code is below. The opened excel file's name is saved as variable "OpeningVar". Private Sub CommandButton1_Click() Dim Wbk As Workbook Dim Pth As...
  5. M

    VBA - Paste data dynamically in masterworkbook from different workbooks

    Hi Team, please help, My task is to open each workbooks from a range, copy workbooks range and paste in master file, But Challenge I am facing is that firstworkbooks data will be pasted correctly. but second workbooks Data should be pasted in specified range of Master workbook.and row should...
  6. M

    vba R1C1 Formula Error.......

    Hi Team, Please assist to make R1C1 formula dynamic. Thanks Below are my code my attempted Code.getting error at formula. Sub R1C1_Dynamic() Dim wbk As Workbook Dim wsh As Worksheet Dim mwbk As Workbook Dim msh As Worksheet Set mwbk = ThisWorkbook Set msh = mwbk.Worksheets("Sheet1")...
  7. L

    Import sheet from a known file and location and rename

    Hi Guys, I’ve got some code that imports “Sheet1” from a file I needto select from a pop up box. Sub ImportReport() Dim Fname As String Dim Wbk As Workbook For Each Sheet InActiveWorkbook.Worksheets If Sheet.Name ="Sheet1" Then Sheet.Delete End If Next...
  8. U

    Need help combing multiple like rows and including a count

    I need to loop through all rows of my data, and consolidate all of the like rows into one row, and include a count of how many versions of that row there where. As you can see below I am trying to consolidate these 5 rows of data into 2, and my code does nothing of the sort, Can someone point me...
  9. J

    VBA How to Know if a Workbook is opened?

    hi all i have this VBA code: Dim wbk As Workbook Dim wbk2 As Workbook Set wbk2 = Workbooks.Open(Filename:=F2) Set wbk = Workbooks.Open(Filename:=F1) of course F1 and F2 is a Correct filenames with path..... My question is how to know if workbook: wbk is already opened? (for not...
  10. J

    how to check if a sheet exist?

    hi, i know how to: Dim WorksheetExists As Boolean WorksheetExists = Evaluate("ISREF('Graficas'!A1)") and work But i am work with some workbooks.... and then i need evaluate if exist sheets on each workbook. this: WorksheetExists = Evaluate("ISREF('Graficas'!A1)") Evaluate in the last opened...
  11. P

    .Name Method or Data Member Not Found

    Hi everyone, I've used this code many times but have never seen this error. Can anyone help? Sub Printer () Dim wbk as workbooks Application.displayalerts = false For each wbk in workbooks If left(wbk.name, 8) = "EBMF_POW" THEN Wbk.activate ~~printer code~~ End if Next wbk End...
  12. J

    update in the name of the spreadsheet - macro will still pick up the data

    Hello guys, is it possible to have an automatic update in the code that will find the name of the spreadsheet as for example when I pull the data from different workbook finding the report as it is now, but assuming the report is called now: Report (1) is it possible to have the macro taking...
  13. Roderick_E

    Get Args needed for UDF

    I can generate a list of UDF with the following macro, but I'd like to put the args needed next to them. You can manually get a UDF args by pressing CTRL+SHIFT+A so there must be a way to do it programmically. Anyone? Sub ListProcedures() Dim sProc() As String Dim lngLine As Long Dim...
  14. M

    Getting data from multiple workbooks (+200) using Index & Match in VBA (?)

    Hi all, This is my first post on this forum, you guys already helped me a lot by answering other people's questions. But now i can't really find a solution. We have on a yearly basis, a total of 208 workbooks (1 for each hal, p. week) now i want to extract a certain field of data to a...
  15. J

    Opening multiple password protected files with various possible passwords and change to new password.

    Is there anyway to only open files that has a password, then change to new password, save file, then close? The script I'm using now opens ALL files, (with or without password) then saves it with new password. The other problem is some files has password "test123" while some has password...
  16. M

    vlookup , run time error,438, object doesnt support

    Hi Team, I got stuck below in highlighted Bold line. please assist. getting object doesn't support error. Actually I want to open a existing workbook, by pasting its file path in sheet1.range("b5").value (i.e MacroBook). after that I want to set it and would like to use the variable in...
  17. M

    VBA Help on creating input path macro tab on sheet1

    Hi Team, I have created a macro for consolidation of data from different workbook. I have asked user to put input in sheet1.range ("B4"). here I am looking for someone to help me in creating folder browser tab besides the input path code. and below that output path browser macro button. if...

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