View Single Post
 
Old 12-22-2019, 08:24 AM
p45cal's Avatar
p45cal p45cal is offline Windows 10 Office 2019
Expert
 
Join Date: Apr 2014
Posts: 871
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

A few options in the attached.
You can enable lines ending in 'debug line if you want to follow what's happening as you step through the code with F8 on the keyboard.
You can move the source data anywhere on sheet1, you can move the headers any on Sheet2, in any order, separated by blank columns if you want, but they should be on the same row.


Edit:
I see that you've asked this question elsewhere (excel - Using a UDF in a VBA copy paste macro - Stack Overflow), you're really obliged to inform people of that.
Have a read of Excelguru Help Site - A message to forum cross posters
Get known as a cross-poster without supplying links and you'll find your responses drying up.


ps. It would be nice if you acknowledge it when people try to help - nothing from you the last two times I tried here.
Attached Files
File Type: xlsm msofficeforums44085sample.xlsm (21.9 KB, 7 views)
Reply With Quote