• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Macro to transform System download data to column form|VBA & Macros|Excel Forum|My Online Training Hub

You are here: Home / Macro to transform System download data to column form|VBA & Macros|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumVBA & MacrosMacro to transform System download …
sp_PrintTopic sp_TopicIcon
Macro to transform System download data to column form
Avatar
David_Ng
Member
Members
Level 0
Forum Posts: 306
Member Since:
December 5, 2016
sp_UserOfflineSmall Offline
1
December 20, 2018 - 3:45 pm
sp_Permalink sp_Print

Is there a macro to transform System data to Column Form . Pls refer attached [ Format in Vendor Bank Sheet ]

Vendor Name Name 2 Name 3 Name 3 Bank name Bank acct SWIFT code IBAN Created by Created on

Avatar
Philip Treacy
Admin
Level 10
Forum Posts: 1518
Member Since:
October 5, 2010
sp_UserOfflineSmall Offline
2
December 20, 2018 - 5:49 pm
sp_Permalink sp_Print

Hi David,

there's no attachment.

Phil

Avatar
David_Ng
Member
Members
Level 0
Forum Posts: 306
Member Since:
December 5, 2016
sp_UserOfflineSmall Offline
3
December 20, 2018 - 6:14 pm
sp_Permalink sp_Print

sorry file size too big . now trim the file for testing

Avatar
Dave Morrison
Member
Members
Level 0
Forum Posts: 6
Member Since:
December 21, 2018
sp_UserOfflineSmall Offline
4
December 21, 2018 - 1:47 am
sp_Permalink sp_Print sp_EditHistory

Your sample is all over the place, could you possibly supply a couple of rows showing your desired results?

Avatar
Ben13

Active Member
Members
Level 0
Forum Posts: 4
Member Since:
August 25, 2016
sp_UserOfflineSmall Offline
5
December 21, 2018 - 10:15 am
sp_Permalink sp_Print

Hi David,

Your source data is a bit of a mess, but this might be a good start.

Ben.

Avatar
David_Ng
Member
Members
Level 0
Forum Posts: 306
Member Since:
December 5, 2016
sp_UserOfflineSmall Offline
6
December 21, 2018 - 10:22 am
sp_Permalink sp_Print

Yes I know but they are consistent somehow, what I want is to extract the follow row data in column  form filed data  using a macro, detaisl filed to be extract as follows :

Vendor Name Name 2 Name 3 Name 3 Bank name Bank acct SWIFT code IBAN Created by Created on
Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
7
December 21, 2018 - 10:40 am
sp_Permalink sp_Print

I hope those data you given are dummy as they contain some sensitive data such as bank a/c no etc.

Avatar
David_Ng
Member
Members
Level 0
Forum Posts: 306
Member Since:
December 5, 2016
sp_UserOfflineSmall Offline
8
December 21, 2018 - 10:45 am
sp_Permalink sp_Print

Data not genuine ie modified for macro extract purpose ..

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
9
December 21, 2018 - 12:15 pm
sp_Permalink sp_Print

Hi David

Give this a try.

Sunny

Avatar
David_Ng
Member
Members
Level 0
Forum Posts: 306
Member Since:
December 5, 2016
sp_UserOfflineSmall Offline
10
December 21, 2018 - 1:04 pm
sp_Permalink sp_Print

I tried with the test data  OK

 

But when  replace with actual ie data to run failed with following error.

so what should I pay attention when copy and place the data to the macro file

Capture.JPGImage Enlarger

sp_PlupAttachments Attachments
  • sp_PlupImage Capture.JPG (63 KB)
Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
11
December 21, 2018 - 1:44 pm
sp_Permalink sp_Print

Hi David

What is the error message?

Can you post your actual file with (without the personal data)?

A few records will do, as I need to see what is in column B

Sunny

Avatar
Philip Treacy
Admin
Level 10
Forum Posts: 1518
Member Since:
October 5, 2010
sp_UserOfflineSmall Offline
12
December 21, 2018 - 1:44 pm
sp_Permalink sp_Print sp_EditHistory

Hi David,

If the macro works with test data but not with real data then your test data is not an accurate reflection of your real data.

You need to provide test data that is an accurate copy of real world data.

If you just provide us with a screenshot of the line causing the error, but not the error message or the data that caused it, we can't debug it.

Phil

Avatar
David_Ng
Member
Members
Level 0
Forum Posts: 306
Member Since:
December 5, 2016
sp_UserOfflineSmall Offline
13
December 21, 2018 - 2:13 pm
sp_Permalink sp_Print

BUT CAN NOT DISLCOSE ACTUAL DATA IN THE FORUM,

MAY BE I TRIED MANUIPULATE THE ACTUAL DATA AGAIN, SEE WHAT CAUSE THE PROBLEM..SORRY THE CONFUSION

TRY SEND TEST FILE AGAIN.

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Kim Knox, Bhuwan Devkota
Guest(s) 8
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 871
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
Jessica Stewart: 204
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Bhuwan Devkota
Kathryn Patton
Maria Conatser
Jefferson Granemann
Glen Coulthard
Nikki Fox
Rachele Dickie
Raj Mattoo
Mark Luke
terimeri dooriyan
Forum Stats:
Groups: 3
Forums: 24
Topics: 6221
Posts: 27285

 

Member Stats:
Guest Posters: 49
Members: 31909
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.