swb

  1. A

    VBA to copy values from another workbook

    Hi Guys, I am trying to copy values from a closed workbook to active workbook. I have following code, but this one is not working. Any help in making it work will appreciated. Sub CopyValues()Dim swb As Workbook, dwb As Workbook Set dwb = ActiveWorkbook Set swb = Workbooks.Open("S:\Leave...
  2. M

    Closing ActiveWorkbook but not ThisWorkbook

    My program opens a spreadsheet. I want to close this one using the x symbol without asking me if I'd like to close all other spreadsheets. I have this written in my ThisWorkbook coding section. Public swb As String Private Sub Workbook_Open() Application.ScreenUpdating = False swb...
  3. D

    Excel VBA Help with dynamic forms!

    Hello everyone and thanks in advance for all attention and help provided! I'm crawling my way to understand Excel and now I'm facing a challenge: I need to create a dynamic form! Here's the issue: I have a list of contracts and some workers of a team who work with them. They're having problems...

Watch MrExcel Video

This Week's Hot Topics

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
Top