Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
VBscript
Hello,
What does the top =-2 mean in this scipt. I recorded the macro and was using it for another sheet, and the macro stopped. When I pressed debug it pointed me to this line. Did something change in my new sheet, how would I know. Is there a way to fix that variable ? Selection.Sort Key1:=Range("D2"), Order1:=xlAscending, Header:=xlGuess, _ OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom With ActiveWindow .Top = -2 .Left = 5.5 End With |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Run VBScript from Excel | Excel Discussion (Misc queries) | |||
Pastespecial via vbscript not working | Excel Programming | |||
How to do selection.subtotal in VBScript/ASP ? | Excel Programming | |||
Entering a formula via VBscript | Excel Programming | |||
use shell function in vbscript | Excel Programming |