Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel, screen position -- upper left hand corner
Message
From
18/08/2004 04:58:23
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00933872
Message ID:
00934032
Views:
23
>Hi,
>Is is possible to tell Excel to make a certain cell be the upper left hand
>corner of the scren?
>Thanks
>Steve

Use GoTo with 2nd parameter TRUE. ie:
ox=CreateObject('excel.application')
With ox
  .Workbooks.Add
  .Visible = .T.
  With .ActiveWorkBook.ActiveSheet
     .Application.GoTo(.Range('F200'),.T.) && Make F200 upper left cell
     * Limit scrollable area
     * .ScrollArea = 'F200:K300' && User cannot scroll and select out F200:K300
  endwith
endwith
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform