Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help in checking my automation code...
Message
 
 
To
06/05/2002 14:06:52
N. Lea
Nic Cross Enterprises
Valencia, California, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00653087
Message ID:
00653224
Views:
42
This message has been marked as the solution to the initial question of the thread.
>>#DEFINE xlUp -1471
...
>> .Range('A1:L1').Delete(xlUp)

>The code looks great, but the xLUp variable does not work.

You may be using a different version of Excel than I am, and MS is notorious for changing values between versions. For Excel XP, the two values for a Range's Delete method are:
#DEFINE xlShiftUp    -4162
#DEFINE xlShiftToLeft -4159
To find values for constants, use the Object Browser (in VFP7, or in Excel with Alt-F11, F2).

- della
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform