active sheet code

  1. L

    VBA code checks a condition, stops macro if FALSE, etc.

    Hi All, This is my current code to activate sheet based on the value in B6 than perform filtering and sorting. Private Sub Workbook_Open() Dim mainwb As Workbook Set mainwb = ActiveWorkbook mainwb.Sheets("AMSI-R-102 Job Request Register").Activate mainwb.Sheets(Range("B6").Value).Activate...
  2. F

    loop through chart on sheet to change axis numbers

    I am very new to VBA and am having a hard time understanding how the loop feature is working in relation to only charts on the current sheet. I can change an "active chart" with a VBA but need to loop it through all charts on the current sheet. I have been trying to understand it for 2 days of...
  3. smide

    Problem with VBA code which paste results in wrong Workbook

    Hello. I have a problem with code which runs periodically (every 30 seconds). Basically, the code compares data from two Sheets (at the same Workbook) and then paste data (under certain conditions) from Sheet4 to Sheet1. However, when I open some other Workbook (window on that "other"...
  4. B

    Active worksheet opens a new sheet from which I input data that needs to go back to the worksheet I came from

    I hope someone can help me. I need a code that will allow me to move data from a worksheet to a worksheet from which I came from. e.g. worksheet "Sheet 6" opens "Sheet 10", then after filling data in "Sheet 10" I need to move this data back to "Sheet 6" in the cells in range "F12 to F56". Please...
  5. D

    Code to copy range from multiple worksheets into a master worksheet

    I am working on a workload tracking workbook for summarizing employee hours on key projects. The workbook contains multiple worksheets for reporting as well as individual employee worksheets for tracking. Each employee worksheet has an identical structure but the number of worksheets will vary...
  6. J

    Active code Question

    How could I have this code referred to the active sheet not the ("Analyzer - Calculator)? Sub Convert_Data_2003() ' ' Convert_Data_2003 Macro ' Dim my_range As Range With Worksheets("Analyzer - Calculator") Set my_range = .Range("G5:G10000")...

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