Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I wasn't sure why you wanted two separate macros, but you could use the
lines below and break them up if you need to. I think this may accomplish what you want. Sub path() Dim sk As String sk = ActiveWorkbook.path & "/" & ActiveCell.Address(False, False) ActiveCell.Value = sk End Sub Mark |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Keep full file path in cell reference | Excel Discussion (Misc queries) | |||
only the macro name and not the full path to show in the run box | Excel Discussion (Misc queries) | |||
how to compare the active cell value to the previous cell's value | Excel Programming | |||
How to determine full path of table by a macro within it | Excel Programming | |||
How to get the full path name of the open workbook in a macro | Excel Programming |