LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #14   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default VBA Column Conversion

On Sat, 14 Oct 2006 12:50:48 -0500, Dave Peterson
wrote:

I know that if you mix A1 references style with R1C1 reference style, things
blow up quickly:

ActiveCell.Formula = "=sum(R1C1:R10C1)+B1"

My uninformed guess is that when you enter a formula in excel, excel "sees" it
as R1C1 no matter what your settings are showing. And then it converts the
formula to A1 reference style to show it to the user (if it has to).

I found this interesting.

Try this. Start a new workbook with two sheets.

Change excel to use A1 reference style
Format Cell A1 in Sheet1 as General
Format Cell A1 in Sheet2 as Text
Group these two sheets
With Sheet1 the activesheet
type this in A1
=B1+C1

Now look at the formula entered in A1 of Sheet2.

Kind of interesting, huh?



Verry interesting.

I suppose the A1 notation style was adopted to differentiate it from Lotus.
--ron
 
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
CSV Column Conversion CJ Melo Excel Worksheet Functions 2 October 31st 09 01:23 AM
Row to column conversion [email protected] Excel Discussion (Misc queries) 4 October 6th 08 03:33 AM
Perpelexing Row to Column conversion Geno Excel Discussion (Misc queries) 3 July 7th 06 04:04 PM
Excel Column and row conversion MSM Excel Discussion (Misc queries) 1 May 7th 05 03:12 PM
Column conversion Charlie[_9_] Excel Programming 5 April 15th 05 06:50 PM


All times are GMT +1. The time now is 09:31 AM.

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

About Us

"It's about Microsoft Excel"