PC Review


Reply
Thread Tools Rate Thread

Convert A1 notation to string without dollar signs

 
 
eholz1
Guest
Posts: n/a
 
      8th Apr 2008
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
 
Reply With Quote
 
 
 
 
Niek Otten
Guest
Posts: n/a
 
      8th Apr 2008
?range(range("a1")).Address(false,false)

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"eholz1" <(E-Mail Removed)> wrote in message news:337f3aee-00d4-4977-b314-(E-Mail Removed)...
| 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


 
Reply With Quote
 
Jim Thomlinson
Guest
Posts: n/a
 
      8th Apr 2008
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
>

 
Reply With Quote
 
eholz1
Guest
Posts: n/a
 
      9th Apr 2008
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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dollar signs on all tabs scpa Microsoft Excel Misc 4 15th Jul 2009 11:23 PM
In Excel, what do the dollar signs mean in $A$1 =?Utf-8?B?cHNvODI3?= Microsoft Excel Worksheet Functions 3 19th Mar 2009 11:14 PM
Dollar signs in VBA Kletcho Microsoft Excel Programming 4 12th Apr 2006 11:03 PM
Dollar signs =?Utf-8?B?TGVl?= Microsoft Excel New Users 4 25th Aug 2005 09:23 PM
Dollar SIgns in Formulas =?Utf-8?B?TWFzY290?= Microsoft Excel Misc 4 13th May 2005 06:28 PM


Features
 

Advertising
 

Newsgroups
 


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