PC Review


Reply
Thread Tools Rate Thread

2 auick questions please

 
 
Joanne
Guest
Posts: n/a
 
      20th Aug 2007
1. activewindow.selectedsheets.visible = false
I know this will hide an active worksheet.
What I would like to know is how to hide the worksheet upon opening the
workbook.

2. Workbooks.Open spath & fname
opens my workbook
What I need to know is the syntax for how to update the links in fname.
fname.links.update??

Thanks for your help, as always I don't know where I'd be without yas.
Joanne


 
Reply With Quote
 
 
 
 
Susan
Guest
Posts: n/a
 
      20th Aug 2007
1.
public sub auto_open()
activewindow.selectedsheets.visible=false
end sub

2.
i don't know.

susan


On Aug 20, 3:54 pm, "Joanne" <robj...@comcat.net> wrote:
> 1. activewindow.selectedsheets.visible = false
> I know this will hide an active worksheet.
> What I would like to know is how to hide the worksheet upon opening the
> workbook.
>
> 2. Workbooks.Open spath & fname
> opens my workbook
> What I need to know is the syntax for how to update the links in fname.
> fname.links.update??
>
> Thanks for your help, as always I don't know where I'd be without yas.
> Joanne



 
Reply With Quote
 
Susan
Guest
Posts: n/a
 
      20th Aug 2007
actually, you'd have to select the proper sheet, or just refer to it
by name.

public sub auto_open()
dim ws as worksheet
set ws = activeworkbook.worksheets(1)
ws.visible=false
end sub



On Aug 20, 3:54 pm, "Joanne" <robj...@comcat.net> wrote:
> 1. activewindow.selectedsheets.visible = false
> I know this will hide an active worksheet.
> What I would like to know is how to hide the worksheet upon opening the
> workbook.
>
> 2. Workbooks.Open spath & fname
> opens my workbook
> What I need to know is the syntax for how to update the links in fname.
> fname.links.update??
>
> Thanks for your help, as always I don't know where I'd be without yas.
> Joanne



 
Reply With Quote
 
=?Utf-8?B?VmVyZ2VsIEFkcmlhbm8=?=
Guest
Posts: n/a
 
      20th Aug 2007
Joanne,

#2. To update the links when you open the file fname:

Workbooks.Open Filename:=fname, UpdateLinks:=1

Lookup the Open method in the VBA Help to see possible values for the
UpdateLinks parameter..


--
Hope that helps.

Vergel Adriano


"Joanne" wrote:

> 1. activewindow.selectedsheets.visible = false
> I know this will hide an active worksheet.
> What I would like to know is how to hide the worksheet upon opening the
> workbook.
>
> 2. Workbooks.Open spath & fname
> opens my workbook
> What I need to know is the syntax for how to update the links in fname.
> fname.links.update??
>
> Thanks for your help, as always I don't know where I'd be without yas.
> Joanne
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Answers to questions posing more questions in a workbook sbelle1 Microsoft Excel Worksheet Functions 2 8th Aug 2009 01:02 AM
Bookmark questions Access/Word Error Message Two Questions Kenny G Microsoft Access Form Coding 0 1st Aug 2008 04:11 PM
Linksys NAS200 questions (general questions about RAID 0, 1) Aloke Prasad Storage Devices 0 6th Aug 2007 01:04 AM
Form that asks questions based on responses to other Questions =?Utf-8?B?YWtrcnVn?= Microsoft Access Getting Started 3 6th Jul 2007 02:43 PM
Re: After the Deletion of Google Answers, U Got Questions Fills the Gap Answering and Asking the Tough Questions sechumlib Microsoft C# .NET 0 7th May 2007 07:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:55 PM.