opening and hiding workbook

wtnelso

Board Regular
Joined
Feb 15, 2012
Messages
241
Hello,

I'm trying to open a workbook and pull data from it, but when I do that, it always opens in the way. I want to try to find a way to minimize the workbook that I am pulling data from. Here is what I have so far... The bold, underlined line is what I'm trying to use to do this, but it doesn't work.

Code:
Dim MY As Workbook
Dim FIMS As Workbook
Set MY = ActiveWorkbook
Set FIMS = Workbooks.Open(Filename:= _
    "C:\Documents and Settings\FIMS\FIMS - Consolidated .xlsx")

[U]FIMS.Visible = False
[/U]
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Try:

Code:
Application.Visible = False
don't forget to make it visible sometime down the road.
 
Upvote 0

Forum statistics

Threads
1,211,802
Messages
6,104,055
Members
447,892
Latest member
madara uchiha

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