kleinermuk
New Member
- Joined
- Nov 3, 2020
- Messages
- 30
- Office Version
- 2010
- Platform
- Windows
I have a file with combined list of 693 companies as sheet 1.
Then I have all those 693 companies' contact information in the same file, but in separate sheets numbering from sheet 20 to sheet 712.
I need a macros to retrieve phone numbers one by one, starting from sheet 20 and put it to line 1 of combined sheet 1, then retrieve phone number from sheet 21 and put it to line 2 of the combined sheet 1 etc etc
The problem is that phone number are NOT in the same field on each following sheet.
The good news is that phone number is always written in the same format (555) 555-1967
So, macros should search for a number written in that format, once it finds it should import it as a phone number to sheet 1.
If no phone numbers are found on any of the sheets, the line is skipped and macros is moving to the next sheet.
Phone numbers should be written on the combined Sheet 1 in column D
Then I have all those 693 companies' contact information in the same file, but in separate sheets numbering from sheet 20 to sheet 712.
I need a macros to retrieve phone numbers one by one, starting from sheet 20 and put it to line 1 of combined sheet 1, then retrieve phone number from sheet 21 and put it to line 2 of the combined sheet 1 etc etc
The problem is that phone number are NOT in the same field on each following sheet.
The good news is that phone number is always written in the same format (555) 555-1967
So, macros should search for a number written in that format, once it finds it should import it as a phone number to sheet 1.
If no phone numbers are found on any of the sheets, the line is skipped and macros is moving to the next sheet.
Phone numbers should be written on the combined Sheet 1 in column D