Exclude first charachter

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I exclude the "=" from my formula?
I'm using:
AAWGDFormula = ActiveCell.Formula
where my ActiveCell.Formula is
"=[RecOuts_AutoFeed.xls]dbo_t_Report_OutstandingsByScor!$D$2599" to assign it
as a variable.

Instead of AAWGDFormula reading
"=[RecOuts_AutoFeed.xls]dbo_t_Report_OutstandingsByScor!$D$2599"
I want it to read
"[RecOuts_AutoFeed.xls]dbo_t_Report_OutstandingsByScor!$D$2599"
 
Great. Thanks Dave.

davegb said:
strFName = Right(strFName, Len(strFName) - 1)
How do I exclude the "=" from my formula?
I'm using:
AAWGDFormula = ActiveCell.Formula
where my ActiveCell.Formula is
"=[RecOuts_AutoFeed.xls]dbo_t_Report_OutstandingsByScor!$D$2599" to assign it
as a variable.

Instead of AAWGDFormula reading
"=[RecOuts_AutoFeed.xls]dbo_t_Report_OutstandingsByScor!$D$2599"
I want it to read
"[RecOuts_AutoFeed.xls]dbo_t_Report_OutstandingsByScor!$D$2599"
 
A shorter way is:

strFName = Mid(strFName, 2)


Great. Thanks Dave.

davegb said:
strFName = Right(strFName, Len(strFName) - 1)
How do I exclude the "=" from my formula?
I'm using:
AAWGDFormula = ActiveCell.Formula
where my ActiveCell.Formula is
"=[RecOuts_AutoFeed.xls]dbo_t_Report_OutstandingsByScor!$D$2599" to assign it
as a variable.

Instead of AAWGDFormula reading
"=[RecOuts_AutoFeed.xls]dbo_t_Report_OutstandingsByScor!$D$2599"
I want it to read
"[RecOuts_AutoFeed.xls]dbo_t_Report_OutstandingsByScor!$D$2599"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top