Book tertutup

Gilang

New Member
Joined
Feb 21, 2021
Messages
48
Office Version
  1. 2007
Platform
  1. Windows
Baimana caranya untuk mengambil data dari workbook yang tertutup?
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Gilang.
You might get (more) responses if you formulate your questions in English. There are translation programs on the net if you need to use them.

More information is needed but the workbook needs to be opened which means we need to know the Path, Name of the Workbook, Sheet Name where to copy from as well as the range to copy.

This is a generic example of what it can look like.
Code:
Sub Maybe()
    Dim wb2 As Workbook
    Set wb2 = ThisWorkbook
    Application.ScreenUpdating = False
    Workbooks.Open ("C:\Folder Name Here\Workbook Name To Copy From Here.xlsm")
    Range("A1").CurrentRegion.Copy wb2.Sheets("Sheet2").Cells(Rows.Count, 1).End(xlUp).Offset(1)
    ActiveWorkbook.Close
    Application.ScreenUpdating = True
End Sub
 
Last edited:
Upvote 0
OR maybe post on out other Forum "Questions in other languages"
 
Upvote 0

Forum statistics

Threads
1,223,931
Messages
6,175,465
Members
452,646
Latest member
tudou

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