Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting a range of cells
Message
From
30/10/1999 01:36:54
 
 
To
29/10/1999 13:07:47
General information
Forum:
Microsoft Office
Category:
Excel
Miscellaneous
Thread ID:
00282029
Message ID:
00284257
Views:
22
Paige,

Give this a try.
lcRange=CHR(64+ColStart)+LTrim(Str(RowStart))+":"+CHR(64+ColEnd)+LTrim(Str(RowEnd)).
If ColStart returns 3, CHR(64+ColStart) should return "C".

You might want to do this.

cStartingCell = CHR(64+ColStart)+LTrim(Str(RowStart))
cEndingCell = CHR(64+ColEnd)+LTrim(Str(RowEnd))
lcRange = cStartingCell+":"+cEndingCell

Makes your code self-documenting.

Tom Molloy
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform