Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Convert A1 notation to string without dollar signs

Hello All,

Is there some sort of VBA command (without using Mid, InStr, etc)
to convert a cell address (aka string, or even single cell range) from
"$F$51" (or R51C6)
to just a string "F51".

I can parse and cut, etc for $ signs, but I thought there might be a
single command that would do this.

Thanks,

eholz1
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default Convert A1 notation to string without dollar signs

?range(range("a1")).Address(false,false)

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"eholz1" wrote in message ...
| Hello All,
|
| Is there some sort of VBA command (without using Mid, InStr, etc)
| to convert a cell address (aka string, or even single cell range) from
| "$F$51" (or R51C6)
| to just a string "F51".
|
| I can parse and cut, etc for $ signs, but I thought there might be a
| single command that would do this.
|
| Thanks,
|
| eholz1


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Convert A1 notation to string without dollar signs

How about this...

Replace("$F$51", "$", "")
--
HTH...

Jim Thomlinson


"eholz1" wrote:

Hello All,

Is there some sort of VBA command (without using Mid, InStr, etc)
to convert a cell address (aka string, or even single cell range) from
"$F$51" (or R51C6)
to just a string "F51".

I can parse and cut, etc for $ signs, but I thought there might be a
single command that would do this.

Thanks,

eholz1

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Convert A1 notation to string without dollar signs

On Apr 8, 3:06 pm, Jim Thomlinson <James_Thomlin...@owfg-Re-Move-
This-.com wrote:
How about this...

Replace("$F$51", "$", "")
--
HTH...

Jim Thomlinson

"eholz1" wrote:
Hello All,


Is there some sort of VBA command (without using Mid, InStr, etc)
to convert a cell address (aka string, or even single cell range) from
"$F$51" (or R51C6)
to just a string "F51".


I can parse and cut, etc for $ signs, but I thought there might be a
single command that would do this.


Thanks,


eholz1


Wow, Good tips. have info will use, and

Thanks again!
eholz1~
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
In Excel, what do the dollar signs mean in $A$1 pso827 Excel Worksheet Functions 4 April 3rd 23 12:14 PM
Dollar signs on all tabs scpa Excel Discussion (Misc queries) 4 July 15th 09 11:23 PM
Dollar signs in VBA Kletcho Excel Programming 4 April 12th 06 11:03 PM
Dollar signs Lee New Users to Excel 4 August 25th 05 09:23 PM
Dollar SIgns in Formulas Mascot Excel Discussion (Misc queries) 4 May 13th 05 06:28 PM


All times are GMT +1. The time now is 08:57 PM.

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"