Vba text to columns help

srdr16

New Member
Joined
Jun 16, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I have a large formula that takes references from several different tabs in my worksheet. It creates a list of several hundred vlookups. The data that is added together is changeable.
I have successfully created the vlookups, I copy them as values and text to columns and the vlookups work fine.
I recorded the copy and paste and this also works fine, however the text to columns only works when I do it manually (or whilst recording it), if I try and run the process from the macros it just will not do anything (it goes thru every formula as if it's doing something but they still stay as text).
If I can crack this then I can fully automate my report, without this the end used will have to do all that manually.
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Welcome to the Board!

Please post your VBA code (as described here: How to Post Your VBA Code) so that we can see it.
Also note the "Text to Columns" only works on hard-coded data, and has no effect on values being returned by formulas.
So if the values are being generated by formulas, they need to be changed to hard-coded values before applying the "Text to Columns" on them.
 
Upvote 0

Forum statistics

Threads
1,215,190
Messages
6,123,547
Members
449,107
Latest member
caya

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