Hello,
I have a a sheet with 500+ rows
One column(Directions) in the sheets contains a string. This string contains directions for the item in the row.
I'm looking for VBA code that will insert a newline everytime the word Step(some number here): Note the number of steps can be different for each row
Example string
Step1: Beat 2 eggs lightly in a large bowl. Stir in rice, Parmesan cheese, butter, cheese sprinkle, 1/2 teaspoon salt, and 1/4 teaspoon pepper; mix to combine. Cover and refrigerate the mixture for 20 minutes. Step2: Preheat an air fryer to 370 degrees F (187 degrees C) according to manufacturer's instructions. Step3: Roll mixture into 1 1/2-inch balls. Press a mozzarella cube into the center of each ball and reshape. Step4: Combine bread crumbs, Italian seasoning, salt, and pepper in a shallow dish. Beat remaining egg lightly in a second bowl. Dip each rice ball first into egg, then roll in the bread crumb mixture. Place rice balls in air fryer basket and spray with cooking spray. Step5: Cook in the preheated air fryer for 6 minutes. Increase temperature to 400 degrees F (200 degrees C) and air fry for 3 more minutes.
Desired string
Step1: Beat 2 eggs lightly in a large bowl. Stir in rice, Parmesan cheese, butter, cheese sprinkle, 1/2 teaspoon salt, and 1/4 teaspoon pepper; mix to combine. Cover and refrigerate the mixture for 20 minutes.
Step2: Preheat an air fryer to 370 degrees F (187 degrees C) according to manufacturer's instructions.
Step3: Roll mixture into 1 1/2-inch balls. Press a mozzarella cube into the center of each ball and reshape.
Step4: Combine bread crumbs, Italian seasoning, salt, and pepper in a shallow dish. Beat remaining egg lightly in a second bowl. Dip each rice ball first into egg, then roll in the bread crumb mixture. Place rice balls in air fryer basket and spray with cooking spray.
Step5: Cook in the preheated air fryer for 6 minutes. Increase temperature to 400 degrees F (200 degrees C) and air fry for 3 more minutes.
Thanks
I have a a sheet with 500+ rows
One column(Directions) in the sheets contains a string. This string contains directions for the item in the row.
I'm looking for VBA code that will insert a newline everytime the word Step(some number here): Note the number of steps can be different for each row
Example string
Step1: Beat 2 eggs lightly in a large bowl. Stir in rice, Parmesan cheese, butter, cheese sprinkle, 1/2 teaspoon salt, and 1/4 teaspoon pepper; mix to combine. Cover and refrigerate the mixture for 20 minutes. Step2: Preheat an air fryer to 370 degrees F (187 degrees C) according to manufacturer's instructions. Step3: Roll mixture into 1 1/2-inch balls. Press a mozzarella cube into the center of each ball and reshape. Step4: Combine bread crumbs, Italian seasoning, salt, and pepper in a shallow dish. Beat remaining egg lightly in a second bowl. Dip each rice ball first into egg, then roll in the bread crumb mixture. Place rice balls in air fryer basket and spray with cooking spray. Step5: Cook in the preheated air fryer for 6 minutes. Increase temperature to 400 degrees F (200 degrees C) and air fry for 3 more minutes.
Desired string
Step1: Beat 2 eggs lightly in a large bowl. Stir in rice, Parmesan cheese, butter, cheese sprinkle, 1/2 teaspoon salt, and 1/4 teaspoon pepper; mix to combine. Cover and refrigerate the mixture for 20 minutes.
Step2: Preheat an air fryer to 370 degrees F (187 degrees C) according to manufacturer's instructions.
Step3: Roll mixture into 1 1/2-inch balls. Press a mozzarella cube into the center of each ball and reshape.
Step4: Combine bread crumbs, Italian seasoning, salt, and pepper in a shallow dish. Beat remaining egg lightly in a second bowl. Dip each rice ball first into egg, then roll in the bread crumb mixture. Place rice balls in air fryer basket and spray with cooking spray.
Step5: Cook in the preheated air fryer for 6 minutes. Increase temperature to 400 degrees F (200 degrees C) and air fry for 3 more minutes.
Thanks