Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
The below is a path and file name where i am saving a certain file to through VB: Remit_Name = file_path & "\" & Supp_Name & " " & Trans_No & " " & Format(Date, "ddmmmyy") & ".xls" I am using a concatenate function somewhere else on the sheet where i need to call this value from. Is there any way of calling a VB variable from a worksheet cell? For eg i want a formula to read: =Concatenate(a1:, b76, Remit_Name) |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Assuming Remit_Name is a public variable
Public function RName() Application.Volitile rName = Remit_Name End sub Place the above in a general/standard module, then you can use =Concatenate(a1, b76, RName()) -- Regards, Tom Ogilvy "Edgar" wrote in message ... Hi The below is a path and file name where i am saving a certain file to through VB: Remit_Name = file_path & "\" & Supp_Name & " " & Trans_No & " " & Format(Date, "ddmmmyy") & ".xls" I am using a concatenate function somewhere else on the sheet where i need to call this value from. Is there any way of calling a VB variable from a worksheet cell? For eg i want a formula to read: =Concatenate(a1:, b76, Remit_Name) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
date problem | Excel Discussion (Misc queries) | |||
Exel increment date problem wrt todays date. | Excel Worksheet Functions | |||
Date Formula Problem - Leave date blank if Null | Excel Worksheet Functions | |||
Date problem | Excel Discussion (Misc queries) | |||
Date problem using VBA | New Users to Excel |