Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default ActiveWindow.Visible = True

I've executed in a VBA Project I'm developing an instruction to Hide the
Workbook, the following instruction ( ActiveWindow.Visible = False ), and in
the end I changed it's value to True, but unfortunatlly I realize that I just
can't change is value back to true to solve the visibility problem, it gives
me an error ( Run-time error "91" - Object variable or With block variable no
set).
I really need Help to programmaticaly make Visible my Workbook, because I
can use it ( Macros ), but I can't see It, I enter in VBA but I don't see my
Worksheet, and I've also a lot of info in the worksheets.
Thks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,646
Default ActiveWindow.Visible = True

Try
Windows("your workbook name.xls").Visible = True

Regards,
Stefi

€˛Paulo Alexandre ( PT )€¯ ezt Ć*rta:

I've executed in a VBA Project I'm developing an instruction to Hide the
Workbook, the following instruction ( ActiveWindow.Visible = False ), and in
the end I changed it's value to True, but unfortunatlly I realize that I just
can't change is value back to true to solve the visibility problem, it gives
me an error ( Run-time error "91" - Object variable or With block variable no
set).
I really need Help to programmaticaly make Visible my Workbook, because I
can use it ( Macros ), but I can't see It, I enter in VBA but I don't see my
Worksheet, and I've also a lot of info in the worksheets.
Thks

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 789
Default ActiveWindow.Visible = True

Hi
We need to see your code. The problem could be anything - even
something not related to the problem you have stated.

regards
Paul

Paulo Alexandre ( PT PT ) wrote:
I've executed in a VBA Project I'm developing an instruction to Hide the
Workbook, the following instruction ( ActiveWindow.Visible = False ), and in
the end I changed it's value to True, but unfortunatlly I realize that I just
can't change is value back to true to solve the visibility problem, it gives
me an error ( Run-time error "91" - Object variable or With block variable no
set).
I really need Help to programmaticaly make Visible my Workbook, because I
can use it ( Macros ), but I can't see It, I enter in VBA but I don't see my
Worksheet, and I've also a lot of info in the worksheets.
Thks


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default ActiveWindow.Visible = True

Thks Stefi
It worked just fine.
Thks a lot

"Stefi" wrote:

Try
Windows("your workbook name.xls").Visible = True

Regards,
Stefi

€˛Paulo Alexandre ( PT )€¯ ezt Ć*rta:

I've executed in a VBA Project I'm developing an instruction to Hide the
Workbook, the following instruction ( ActiveWindow.Visible = False ), and in
the end I changed it's value to True, but unfortunatlly I realize that I just
can't change is value back to true to solve the visibility problem, it gives
me an error ( Run-time error "91" - Object variable or With block variable no
set).
I really need Help to programmaticaly make Visible my Workbook, because I
can use it ( Macros ), but I can't see It, I enter in VBA but I don't see my
Worksheet, and I've also a lot of info in the worksheets.
Thks

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 789
Default ActiveWindow.Visible = True

Then again....it might be easily fixed...
Paul

Paulo Alexandre ( PT ) wrote:
Thks Stefi
It worked just fine.
Thks a lot

"Stefi" wrote:

Try
Windows("your workbook name.xls").Visible = True

Regards,
Stefi

,,Paulo Alexandre ( PT )" ezt ķrta:

I've executed in a VBA Project I'm developing an instruction to Hide the
Workbook, the following instruction ( ActiveWindow.Visible = False ), and in
the end I changed it's value to True, but unfortunatlly I realize that I just
can't change is value back to true to solve the visibility problem, it gives
me an error ( Run-time error "91" - Object variable or With block variable no
set).
I really need Help to programmaticaly make Visible my Workbook, because I
can use it ( Macros ), but I can't see It, I enter in VBA but I don't see my
Worksheet, and I've also a lot of info in the worksheets.
Thks




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,646
Default ActiveWindow.Visible = True

You are welcome! Thanks for the feeadback!
Stefi


€˛Paulo Alexandre ( PT )€¯ ezt Ć*rta:

Thks Stefi
It worked just fine.
Thks a lot

"Stefi" wrote:

Try
Windows("your workbook name.xls").Visible = True

Regards,
Stefi

€˛Paulo Alexandre ( PT )€¯ ezt Ć*rta:

I've executed in a VBA Project I'm developing an instruction to Hide the
Workbook, the following instruction ( ActiveWindow.Visible = False ), and in
the end I changed it's value to True, but unfortunatlly I realize that I just
can't change is value back to true to solve the visibility problem, it gives
me an error ( Run-time error "91" - Object variable or With block variable no
set).
I really need Help to programmaticaly make Visible my Workbook, because I
can use it ( Macros ), but I can't see It, I enter in VBA but I don't see my
Worksheet, and I've also a lot of info in the worksheets.
Thks

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
ActiveWindow VBA problem Tomasz Klim[_2_] Excel Programming 2 June 11th 06 11:04 PM
Shapes.visible = false/true Ctech[_122_] Excel Programming 2 March 22nd 06 02:25 PM
how to set pivotitem.visible property to true kanan Excel Programming 0 February 25th 04 08:06 PM
How can I set PivotItem.Visible property to True? yumi Excel Programming 2 February 19th 04 11:51 AM
error with setting "Items.Visible = True" Stan R Excel Programming 1 August 20th 03 09:51 AM


All times are GMT +1. The time now is 09:43 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"