Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-21-2020, 01:44 AM
rsrasc rsrasc is offline Need Help Creating a Macro Windows 10 Need Help Creating a Macro Office 2013
Competent Performer
Need Help Creating a Macro
 
Join Date: Mar 2014
Location: Germany
Posts: 141
rsrasc is on a distinguished road
Default Need Help Creating a Macro


Hi all,

I have a file with approximate 13,000 rows. In Column G, I would like to search for the word "DIGITSSE" (this word may repeat over 75 times or more) and when found, I would like the macro to copy the word "NC" to the left (in Column F) of the word "DIGITSSE".

As always thank you in advance for your support.

Cheers!
Reply With Quote
  #2  
Old 02-21-2020, 01:56 AM
macropod's Avatar
macropod macropod is offline Need Help Creating a Macro Windows 7 64bit Need Help Creating a Macro Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 20,071
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

You don't need a macro for that - it can all be done with a simple formula in column F.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
  #3  
Old 02-21-2020, 05:12 AM
rsrasc rsrasc is offline Need Help Creating a Macro Windows 10 Need Help Creating a Macro Office 2013
Competent Performer
Need Help Creating a Macro
 
Join Date: Mar 2014
Location: Germany
Posts: 141
rsrasc is on a distinguished road
Default

Hi Macropod,

I was hoping I could automate it without having to sort it or write a formula for it. That, I think won't be a difficult task.

Thanks!
Reply With Quote
  #4  
Old 02-21-2020, 05:50 AM
macropod's Avatar
macropod macropod is offline Need Help Creating a Macro Windows 7 64bit Need Help Creating a Macro Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 20,071
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

Well, you've been around long enough and been given plenty of help with code that loops through rows and tests the content of a cell. So how about investing some effort of your own? This isn't a free coding service for those who expect to be spoon fed.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
  #5  
Old 02-21-2020, 09:43 AM
rsrasc rsrasc is offline Need Help Creating a Macro Windows 10 Need Help Creating a Macro Office 2013
Competent Performer
Need Help Creating a Macro
 
Join Date: Mar 2014
Location: Germany
Posts: 141
rsrasc is on a distinguished road
Default

Hi Macropod,

Thank you for your response. For the record, I'm not expecting at all to be spoon fed. Being around long enough does not mean that I know everything. I already spent some time looking around, but, of course, I will continue my effort to find a solution. Like I said before, I could go different ways to get a result.

To finalize, thank you for your advise. Chances are, at some point, you'll disagree with others who post in the forum. That's okay. Agree to disagree and I respect your opinion.

Much appreciated.
Reply With Quote
  #6  
Old 02-21-2020, 02:50 PM
macropod's Avatar
macropod macropod is offline Need Help Creating a Macro Windows 7 64bit Need Help Creating a Macro Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 20,071
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

Quote:
Originally Posted by rsrasc View Post
Chances are, at some point, you'll disagree with others who post in the forum. That's okay. Agree to disagree and I respect your opinion.
It's not a question of whether I agree with something, but a question of what effort you're investing in learning how to do things. I see little evidence of that when you've been given code to do very similar things in the past but you're still asking...
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help Creating a Macro Need Help Creating a Macro rsrasc Excel Programming 2 09-20-2019 01:39 AM
Need Help Creating a Macro Need Help Creating Macro rsrasc Word VBA 1 10-22-2014 03:09 PM
Need Help Creating a Macro Need Help Creating Macro rsrasc Word VBA 6 03-28-2014 01:31 PM
Creating a MACRO Nikb3522 Word VBA 0 10-21-2010 05:55 PM
creating macro steveb Word VBA 0 08-14-2010 01:29 AM


All times are GMT -7. The time now is 02:56 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft