Copy from Formula Bar

Sahak

Well-known Member
Joined
Nov 10, 2006
Messages
1,012
Office Version
  1. 2016
  2. 2013
  3. 2011
  4. 2010
  5. 2007
Hi all,

Sometimes copying from the cell (passwords or links), after pasting does not work.
Is there a macro to copy Formula Bar's contents?
Thank you in advance.
1600795110847.png
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Sometimes copying from the cell (passwords or links), after pasting does not work
why does it not work?
why would copying from the formula bar return a different result?
 
Upvote 0
Hi Yongle,

Thank you for your reply. Why I don't know:)
Is there a macro?
 
Upvote 0
Which macro are you using now to copy from the cell?
 
Upvote 0
Hi Yongle,

Now I know why:), the cell copying from, was in a hidden column. But anyway, to learn something new, is there a macro:):unsure:?
 
Upvote 0
Which macro are you using to copy from the cell?
 
Upvote 0
VBA Code:
Sub Copy_Link()
    If ActiveCell.Column = Range("Clmn_Payee").Column And ActiveCell.Offset(0, 1) = "Y" Then
        ActiveCell.Offset(0, 2).Copy
        MsgBox "Please Paste the Copied Link"
    Else
        MsgBox "Wrong Selection, Please Select Payee"
    End If
End Sub
 
Upvote 0
how about
VBA Code:
ActiveCell.Offset(0, 2).Formula.Copy
 
Upvote 0

Forum statistics

Threads
1,223,901
Messages
6,175,277
Members
452,629
Latest member
SahilPolekar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top