LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default application.screenupdating problems and IE browser window

Hi,

We have an intranet site on which we post reports. I have
noticed a problem with reports that contain vba macros,
when the users PC settings are set so that the report
opens in the Browser window, rather than the Excel
Application window.

Where the macro is sandwiched between an
application.screenupdating=false and an
application.screenupdating=true statement, it appears that
the macro is triggered, but that the
application.screenupdating=true statement does not run,
and so to the user, it appears as though the macro has not
run. However, if I put an additional
application.screenupdating=true statement, then it works
fine.

For example...

This won't work....
application.screenupdating=false
range("a1")="hello"
application.screenupdating=true

This will work...
application.screenupdating=false
range("a1")="hello"
application.screenupdating=true
application.screenupdating=true


Has anyone come across this before, and can you tell me
why this is happening?

(Note, if you open the spreadsheet in Excel directly,
rather than via the Intranet, then both versions of the
code work fine)

Belinda

 
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
Why does Selection.PasteSpecial toggle Application.ScreenUpdating OssieMac Excel Worksheet Functions 2 August 4th 09 12:05 AM
How to set Application.ScreenUpdating = False for Gen use David_Williams_PG () Excel Discussion (Misc queries) 1 August 15th 06 12:06 PM
Application.ScreenUpdating function question Fleone Excel Worksheet Functions 2 May 12th 05 01:36 AM
Application.ScreenUpdating = False Pieter Kuyck Excel Programming 2 July 15th 03 06:28 PM


All times are GMT +1. The time now is 08:51 AM.

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

About Us

"It's about Microsoft Excel"