Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
FGM FGM is offline
external usenet poster
 
Posts: 35
Default RefEdit Control

Is there a way to use Refedit Control and have it not return Absolutes.. $A$4?

I use Refedit to get a range and use it in a formula and it works great.
However, when I want to copy that formula to other cells it does not work
because of the $ absolute references.

Thanks in advance if you can help

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default RefEdit Control



Sub PutThemAway()
Dim str As String
str = MyRefEditControl.Text
str = Application.Substitute(str, "$", vbNullString)
End Sub
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware



"FGM"
wrote in message
Is there a way to use Refedit Control and have it not return Absolutes.. $A$4?

I use Refedit to get a range and use it in a formula and it works great.
However, when I want to copy that formula to other cells it does not work
because of the $ absolute references.

Thanks in advance if you can help

  #3   Report Post  
Posted to microsoft.public.excel.programming
FGM FGM is offline
external usenet poster
 
Posts: 35
Default RefEdit Control

Thank you... I had told my boss I would just have to strip the $. Thanks
for the how to do it.

"Jim Cone" wrote:



Sub PutThemAway()
Dim str As String
str = MyRefEditControl.Text
str = Application.Substitute(str, "$", vbNullString)
End Sub
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware



"FGM"
wrote in message
Is there a way to use Refedit Control and have it not return Absolutes.. $A$4?

I use Refedit to get a range and use it in a formula and it works great.
However, when I want to copy that formula to other cells it does not work
because of the $ absolute references.

Thanks in advance if you can help


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default RefEdit Control

?range("$A$4").Address(false,false)
A4

Look at the other aguments to Address also.

NickHK

"FGM" wrote in message
...
Is there a way to use Refedit Control and have it not return Absolutes..

$A$4?

I use Refedit to get a range and use it in a formula and it works great.
However, when I want to copy that formula to other cells it does not work
because of the $ absolute references.

Thanks in advance if you can help



  #5   Report Post  
Posted to microsoft.public.excel.programming
FGM FGM is offline
external usenet poster
 
Posts: 35
Default RefEdit Control

Thank you, Thank you.... this is even better. I did look at address .. but
it is not always clear... Do not know how some of you figure all this out...
I have several books but did not find the solution.... thank you.

"NickHK" wrote:

?range("$A$4").Address(false,false)
A4

Look at the other aguments to Address also.

NickHK

"FGM" wrote in message
...
Is there a way to use Refedit Control and have it not return Absolutes..

$A$4?

I use Refedit to get a range and use it in a formula and it works great.
However, when I want to copy that formula to other cells it does not work
because of the $ absolute references.

Thanks in advance if you can help






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
RefEdit control alexchamps Excel Programming 1 August 17th 06 10:01 AM
Refedit Control chubrebous Excel Programming 0 March 5th 06 09:46 PM
RefEdit control Tim[_39_] Excel Programming 2 August 10th 04 07:02 PM
Shift-Control Arrow and RefEdit Control? Ariel[_2_] Excel Programming 12 January 6th 04 11:10 PM
RefEdit control bug Dag Johansen[_6_] Excel Programming 1 October 20th 03 12:32 PM


All times are GMT +1. The time now is 08:59 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"