wkb

  1. N

    Inserting Images i get Error "variable not defined" when coded in Excel 2010 but runs perfectly in Excel 2013

    Hello When inserting Images i get Error "variable not defined" using the below code in Excel 2010 but runs perfectly in Excel 2013 which i am currently using Set s = ActiveSheet.Shapes.AddPicture2(picPath, False, True, rr1.Left + 48.48, rr1.Top + 11, 60.0944882, 462.047244...
  2. D

    Referencing cell in another workbook

    First, I want to thank all the awesome people who have helped me so far. I've managed to streamline my tasks significantly with the VBA help that the people on this forum have provided. Thank you so much! Now, my current bit of tinkering. I use a single file that has my macros programmed into...
  3. O

    I am trying to use a macro to refresh data from another excel file but I keep getting an error. Any ideas why?

    Hello, I have 6 Excels files. I am using one file as the main file, and the other five I am using as data connections for the main file. My code is as follows Sub DataRefresh() Dim wkb as Workbook Set wkb = Workbooks.Open("filepath") wkb.RefreshAll (This is where the debugger says the error...
  4. JackDanIce

    Without switching (using activating/select), add a sheet to Thisworkbook not working

    Hi, Code is several procedures/functions, too long to post and haven't quite found required answer through several searches online. Workbook macro opens a file, extract data from opened file and then creates output sheets in the workbook macro is run from: Sub CreateOutput(byref dic as...
  5. S

    Check file name in VBA

    I have a template file which has several macros in. At present I have a short bit of code at the start of the module to check the file name is not the template file. This is to prevent users overwriting the template as each of the modules as a save at the end. WKB = ActiveWorkbook.name...
  6. P

    Copying & Pasting specific dynamic range of columns into different workbook?

    Hello, I am having difficulties with what should be an easy macro.... I am trying to link two workbooks so that specific column values(only) get pasted into active workbook when activated by command button. Source wkb: "Inventory Master List (Macro)" Destination wkb: "Inventory Check...

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