Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default Userform to load when Workbook is opened

Hi there,
I have workbook that loads userform when the workbook is opened however
eventhough I did set screenupdating to false it first shows the workbook
briefly and then loads the form.
ıs there a way around this so that people wont see the excel sheet at all?

Thank you,Ozgur
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Userform to load when Workbook is opened

If you hide the workbook and then save it, it should open as hidden - just
like personal.xls.

--
Regards,
Tom Ogilvy


"Ozgur Pars" wrote:

Hi there,
I have workbook that loads userform when the workbook is opened however
eventhough I did set screenupdating to false it first shows the workbook
briefly and then loads the form.
ıs there a way around this so that people wont see the excel sheet at all?

Thank you,Ozgur

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default Userform to load when Workbook is opened

Tom thanks for your reply.
I did check the "hidden" check box in the attributes of the File-Properties
window of excel. (if I did understand it correctly I mean). I can only change
it when the workbook is closed and it did not work.
I think I got it wrong...

Thanks,
Ozgur

"Tom Ogilvy" wrote:

If you hide the workbook and then save it, it should open as hidden - just
like personal.xls.

--
Regards,
Tom Ogilvy


"Ozgur Pars" wrote:

Hi there,
I have workbook that loads userform when the workbook is opened however
eventhough I did set screenupdating to false it first shows the workbook
briefly and then loads the form.
ıs there a way around this so that people wont see the excel sheet at all?

Thank you,Ozgur

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Userform to load when Workbook is opened

Assume your workbook is name Mybook.xls

with Mybook.xls as the active workbook, go to
go to window=Hide in the menus

You then will have to save the file. It is probably easier to do it all in
a macro in another workbook

sub fixMybook()
Windows("MyBook.xls").Visible = False
workbooks("MyBook.xls").Save
workbooks("Mybook.xls").close
End sub

--
Regards,
Tom Ogilvy





"Ozgur Pars" wrote:

Tom thanks for your reply.
I did check the "hidden" check box in the attributes of the File-Properties
window of excel. (if I did understand it correctly I mean). I can only change
it when the workbook is closed and it did not work.
I think I got it wrong...

Thanks,
Ozgur

"Tom Ogilvy" wrote:

If you hide the workbook and then save it, it should open as hidden - just
like personal.xls.

--
Regards,
Tom Ogilvy


"Ozgur Pars" wrote:

Hi there,
I have workbook that loads userform when the workbook is opened however
eventhough I did set screenupdating to false it first shows the workbook
briefly and then loads the form.
ıs there a way around this so that people wont see the excel sheet at all?

Thank you,Ozgur

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default Userform to load when Workbook is opened

Stupid Ozgur stupid Ozgur...found it :))
Thanks

"Ozgur Pars" wrote:

Tom thanks for your reply.
I did check the "hidden" check box in the attributes of the File-Properties
window of excel. (if I did understand it correctly I mean). I can only change
it when the workbook is closed and it did not work.
I think I got it wrong...

Thanks,
Ozgur

"Tom Ogilvy" wrote:

If you hide the workbook and then save it, it should open as hidden - just
like personal.xls.

--
Regards,
Tom Ogilvy


"Ozgur Pars" wrote:

Hi there,
I have workbook that loads userform when the workbook is opened however
eventhough I did set screenupdating to false it first shows the workbook
briefly and then loads the form.
ıs there a way around this so that people wont see the excel sheet at all?

Thank you,Ozgur

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Load a range of cells into a dataset with an opened workbook instance. [email protected] Excel Programming 0 May 31st 05 04:32 PM
Can macro/userform run depending on HOW workbook is opened? grasping@straws Excel Discussion (Misc queries) 1 December 28th 04 03:19 PM
Opening a workbook if not opened, going to it if already opened neotokyo[_3_] Excel Programming 0 September 24th 04 08:56 PM
Opening a workbook if not opened, going to it if already opened neotokyo[_2_] Excel Programming 1 September 24th 04 07:17 PM
Opening a workbook if not opened, going to it if already opened neotokyo Excel Programming 1 September 24th 04 06:33 PM


All times are GMT +1. The time now is 11:01 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"