Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
could anybody help with this please ? I need the cell reference to read A25 and not $A$25 Any help much appreciated -- Les |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Les,
If it's only a single cell then why not just re-type as A25 or select it and tap F4 a few times until the reference becomes relative. Mike "Les" wrote: Hi, could anybody help with this please ? I need the cell reference to read A25 and not $A$25 Any help much appreciated -- Les |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello Mike, as i using code for this and i need to have the "$" removed.
-- Les "Mike H" wrote: Les, If it's only a single cell then why not just re-type as A25 or select it and tap F4 a few times until the reference becomes relative. Mike "Les" wrote: Hi, could anybody help with this please ? I need the cell reference to read A25 and not $A$25 Any help much appreciated -- Les |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Right click your sheet tab, view code and paste this in. Select the formula to convert and run the code. Sub sonic() Dim c As Range For Each c In Selection If c.HasFormula Then c.Formula = Application.ConvertFormula _ (c.Formula, xlA1, xlA1, xlRelative) End If Next End Sub Mike "Les" wrote: Hello Mike, as i using code for this and i need to have the "$" removed. -- Les "Mike H" wrote: Les, If it's only a single cell then why not just re-type as A25 or select it and tap F4 a few times until the reference becomes relative. Mike "Les" wrote: Hi, could anybody help with this please ? I need the cell reference to read A25 and not $A$25 Any help much appreciated -- Les |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
les, try one of these and see if it's what you want.
Sub test() MsgBox ActiveCell.Address MsgBox ActiveCell.Address(0, 0) MsgBox ActiveCell.Address(0) MsgBox ActiveCell.Address(, 0) End Sub -- Gary "Les" wrote in message ... Hi, could anybody help with this please ? I need the cell reference to read A25 and not $A$25 Any help much appreciated -- Les |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This should do the trick:
Dim CellVariabel As String CellVariabel = "$A$25" ' Or what ever CellVariabel = Replace(CellVariabel,"$","") Hope you get the idea :-) "Les" skrev i en meddelelse ... Hi, could anybody help with this please ? I need the cell reference to read A25 and not $A$25 Any help much appreciated -- Les |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to remove the cell reference in a sheet at once | Excel Discussion (Misc queries) | |||
Remove XLA as a reference in VBA | Excel Programming | |||
How do I remove a reference from a cell? | Excel Discussion (Misc queries) | |||
How can I remove cell reference when calculating outside of the pi | Excel Worksheet Functions | |||
Remove a Reference | Excel Programming |