Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
y y is offline
external usenet poster
 
Posts: 60
Default Wow can I switch to R1C1 mode?

This statement

Set sArea = Application.InputBox(prompt:="Select range:", Type:=8)

returns an A1 reference to me.

To set each seriesCollection.values of my chart I need an R1C1 reference.

How could I accomplish this target?

Thanks, Alex.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default Wow can I switch to R1C1 mode?

Sub test()
Dim sArea As Range
Set sArea = Application.InputBox(prompt:="Select range:", Type:=8)
MsgBox sArea.Address(ReferenceStyle:=xlR1C1)
End Sub


y wrote:
This statement

Set sArea = Application.InputBox(prompt:="Select range:", Type:=8)

returns an A1 reference to me.

To set each seriesCollection.values of my chart I need an R1C1 reference.

How could I accomplish this target?

Thanks, Alex.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why can't I switch to landscape mode? otr-beader Excel Discussion (Misc queries) 2 January 23rd 09 01:47 PM
help on Converting R1C1 to A1 and A1 to R1C1..tia sa2 temp Excel Discussion (Misc queries) 3 September 13th 07 08:31 AM
help on Converting R1C1 to A1 and A1 to R1C1..tia sa2 temp Excel Worksheet Functions 3 September 13th 07 08:31 AM
I switched on the R1C1 reference style but I can't switch it off a gello Excel Discussion (Misc queries) 1 January 18th 06 03:33 PM
coverting answer from Radian mode to degree mode Xmastrzman Excel Worksheet Functions 1 November 10th 04 04:45 PM


All times are GMT +1. The time now is 07:39 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"