Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel ranges
Message
From
04/04/2006 10:53:00
 
 
To
04/04/2006 08:40:34
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
01110215
Message ID:
01110274
Views:
8
Thanks Hilmar

that was v helpful.

Nick

There was an interesting piece about Bolivia on the Radio the other day.

http://news.bbc.co.uk/1/hi/programmes/from_our_own_correspondent/4864464.stm

I was interested in the Ayllu economy.

Nick

>>Hi
>>
>>I want to select a range of cells like
>>
>>oexcel.ActiveSheet.Range("A19:Q25").Select
>>
>>but I want to use cell number like r1c1 etc .
>>
>>Whats the syntax for that as I can't seem to get it right.
>>
>>Thanks
>>
>>Nick Mason
>
>You usually don't need to select the range of cells, you can work directly on a range of cells without selecting it.
>
>If loSheet contains a reference to an active sheet:
>
>
>loSheet.Range(loSheet.Cells(1, 1), loSheet.Cells(5, 10)).Font.Bold = .T.
>
>* or, using the WITH command:
>
>with loSheet
>  .Range(.Cells(1, 1), .Cells(5, 10)).Font.Bold = .T.
>endwith
>
Previous
Reply
Map
View

Click here to load this message in the networking platform