+ Reply to Thread
Results 1 to 8 of 8

sheet shifts up/down

Hybrid View

  1. #1
    Registered User
    Join Date
    09-17-2007
    Posts
    31

    sheet shifts up/down

    hi noob,

    i have an excel worksheet that is refreshed over the network every few minutes. I have observed that occasionally, the sheet moves a couple of rows up or down after refreshing of the data. this movement is quite random and sometimes more than half the sheet has moved out of the screen. thsi requires me to slide the sheet back in position to work on it. Very, very annoying.

    Is there any way to lock the sheet on the screen so that it doesnt shift after refreshing data?

    Please help.

    regards

  2. #2
    Registered User
    Join Date
    09-17-2007
    Posts
    31

    Cool

    Hulloooo!!!!! anybody here?

    OK probably there's no soln to the page hopping up and down.

    Can someone debug this macro for refreshing the xl page every 30 secs

    ="SeaGreen"]Sub ImportData()
        Application.OnTime 
      Now + TimeValue("00:00:30"), "GetWebData"
    End Sub

    the error is "compile error. argument not optional" and the .OnTime is highlighted in blue.


    SO can someone help.

    thanks
    Last edited by VBA Noob; 02-24-2008 at 01:08 PM.

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    Application.OnTime Now + TimeValue("00:00:30"), "GetWebData"
    or
    Application.OnTime _
      Now + TimeValue("00:00:30"), "GetWebData"

  4. #4
    Registered User
    Join Date
    09-17-2007
    Posts
    31
    thanks mod.

    Ran the simple macro now after 30 secs it says that macro not found, though it has been saved and appears when i call up the macro, and is not changed when i enter into the macro.

    something not right that i am doing?

    thanks

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    Is there a typo in the line where the macro reschedules itself?

  6. #6
    Registered User
    Join Date
    09-17-2007
    Posts
    31

    Unhappy

    hishg,

    Typo? I'm not sure. i've done a copy-paste of ur codes (tried both of them).

    why should the run command return a 'macro not found' when the macro appears in the tools>macro and one can edit/ enter it.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1