Working macro with dynamic data.