Help on VBA, newbie here

DroZ3

New Member
Joined
Mar 22, 2018
Messages
22
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have seen multiple posts on this subject but I am not able to adapt the code to my specific need, please help.

I need to do the famous F2 then ENTER combination for the following :

-VBA to be available in sheet "Report XML" only.
-Starting with cell "T2", I need to do the F2/ENTER combination, need to go downward until I hit 50 consecutive empty cells, in case there are small gaps (always less20-25 cells) in the column.
-Since the column potentially has lots of active cells in a column I would like to increase speed by disabling visual feedback.
-Focus to return to "T2" when finish.
-Sheet "Report XML" is password protected but column "T" will not be locked.

Please add explanation so I can adapt to other sheets with same type of issue.

Thanks for the help.
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
If you click the column and press data-text to columns then finish do the same thing?
 
Upvote 0
Yes, but people how will use the sheet have no Excel skills, they are importing data from our new ERP system thru a macro button but the pasted data is in text format so formulas don't work, I want to add the conversion code to the importation macro so they don't make any mistakes.
 
Upvote 0

Forum statistics

Threads
1,214,932
Messages
6,122,331
Members
449,077
Latest member
jmsotelo

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