Multiple variables in SAP - I can't find a solution

Fenes

New Member
Joined
Apr 19, 2024
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
Hello,

I'm new to the forum and I'm writing to you because I haven't managed to find an answer in the various posts. I started learning and using macros some time ago in order to automate / save time in my work but I must admit that I have very little knowledge in the field ...

I'm using SBO SAP Analysis to insert data into an Excel file and I've started using Macros to fill in fields from Excel cell values. This works, but I can't figure out how to adapt my code in the case where I need to fill in 2 values for the same variable. In the example below, I want to retrieve data for April 2023 and April 2024. My macro works and carries over the first value "04.2023" but I can't figure out how to insert the second value "04.2024". I hope the image will help illustrate the problem.

If I'm not mistaken, the question was asked on this forum a few years ago but I don't understand the answer either :(
VBA code to select multiple variables in SAP AfO
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Just realize that the capture is missing :​

Prob.JPG
 
Upvote 0

Forum statistics

Threads
1,215,328
Messages
6,124,299
Members
449,149
Latest member
mwdbActuary

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