Updating "Find What" in macro

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

smr29E

Thread Starter
Joined
Jan 7, 2021
Messages
3
Hi, I'm a self-taught newbie to Excel and trying to write a macro to help with an ongoing function (Search / Find / Copy Range of Cells & Paste in another sheet)
Within the macro, i want to Ctrl C (a specific cell - (sheet 2 A1), then ctrl F (Find) and paste the value from A1 in the "find what" box.
first time to run Macro - perfect, but when i look at the code, the value that was originally pasted stays there, it doesnt change with each updated value.
i'm sure it is an easy fix, but i am struggling with this, and dont want to waste time if there is a better way to do this.

thank you,
 

Professionalgirl

Tina
Account Closed
Joined
Jan 10, 2020
Messages
983
Hi, I'm a self-taught newbie to Excel and trying to write a macro to help with an ongoing function (Search / Find / Copy Range of Cells & Paste in another sheet)
Within the macro, i want to Ctrl C (a specific cell - (sheet 2 A1), then ctrl F (Find) and paste the value from A1 in the "find what" box.
first time to run Macro - perfect, but when i look at the code, the value that was originally pasted stays there, it doesnt change with each updated value.
i'm sure it is an easy fix, but i am struggling with this, and dont want to waste time if there is a better way to do this.

thank you,
Hi smr29E, Please check the settings to ensure macros are enabled. You may be able to create a macro but it will not work unless macros are actually enabled.Macros are normally disabled by default for security purposes.
 

smr29E

Thread Starter
Joined
Jan 7, 2021
Messages
3
Hi smr29E, Please check the settings to ensure macros are enabled. You may be able to create a macro but it will not work unless macros are actually enabled.Macros are normally disabled by default for security purposes.
Hi - i'm sorry i am just getting back to thank you for the assistance... i did not know about the "Enable Macros".

it worked a charm - i appreciate the help.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Top