Need urgent help from VBA God Masters

choid

New Member
Joined
Jul 7, 2021
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
Hi guys, I just started my internship at a data mining company and i'm trying to record a macro.

What I did was to insert 2 columns so that I could make a free extra space. Then I split data in column G into 2 separate cells if it had "_" or empty space in the data cell.
Then I used find and replace function to get the correct names that I needed to make a pivot table.

The problem is that I'm seeing a runtime error like this.

Runtime error 1004- No data was selected to parse


There was this big yellow chunk in the debug dialog and I can't see what's going on even though I'm a cs student. I need help from excel masters and geniuses. Anything would help.!
1625706831237.png
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
I split data in column G
Your text says you are splitting column G but your macro is splitting column F.
My guess is that F7 is empty and that there is nothing below that either so that the whole selection used for the split is empty.

1625730611557.png
 
Upvote 0

Forum statistics

Threads
1,215,043
Messages
6,122,822
Members
449,096
Latest member
Erald

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