VBA: Pasting cyrillic string in vba editor

ivanovmr

New Member
Joined
Jul 29, 2021
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Hello,

I am using excel with other RPA tools for automation. I am trying to execute a macros in excel which VBA code uncludes a cyrillic text, maybe the specific thing there is that my VBA code is stored in variable which I hand to the editor.

So all works perfect exept that cyrillic text is displayed as “?????”

I have tried to change region and language settings but without effect.

May anyone help me to make my cyrillic text visible and used in VBA editor?
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Unfortunately, the Visual Basic Editor doesn't support Unicode characters.

How about storing the text in a worksheet cell, and then assigning it to a variable?

Or, how about storing the text in a defined name (Ribbon >> Formulas tab>> Defined Names group>> Define Name)?
 
Upvote 0
Unfortunately, the Visual Basic Editor doesn't support Unicode characters.

How about storing the text in a worksheet cell, and then assigning it to a variable?

Or, how about storing the text in a defined name (Ribbon >> Formulas tab>> Defined Names group>> Define Name)?
Thank you for your fast response and for the hints. I will try these options :)

Do you know is there a option to store a variable some in Excel and then to call it dynamically when its needed?
 
Upvote 0
Thank you for your fast response and for the hints. I will try these options :)

Do you know is there a option to store a variable some in Excel and then to call it dynamically when its needed?
I'm not sure what you're trying to do exactly, but you don't necessarily need to assign the worksheet cell value to a variable. You can simply refer to the cell when needed.
 
Upvote 0

Forum statistics

Threads
1,215,759
Messages
6,126,728
Members
449,332
Latest member
nokoloina

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