Macro that will rename ONLY cell A1 with Invoice Number

amandeep08

Board Regular
Joined
Mar 20, 2011
Messages
130
Office Version
  1. 365
Currently i have macro that will rename the complete 1st row with the data i have mentioned.

I want the Macro that will rename ONLY cell A1 with "Invoice Number"
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
You just need to change the range in the macro that you already have.

If you want both options readily available then you will need to create a copy of the whole procedure and rename one of them.
 
Upvote 0
You just need to change the range in the macro that you already have.

If you want both options readily available then you will need to create a copy of the whole procedure and rename one of them.
Actually I have to change names of multiple cells in row 1. I thought if someone can help change one cell, I will be able to change rest of them
 
Upvote 0
As I already said,
You just need to change the range in the macro that you already have.
I have not seen the code that you already have so I do not know what needs to be changed.

When you post it, please remember to use VBA tags so that it is formatted properly.
 
Upvote 0

Forum statistics

Threads
1,214,826
Messages
6,121,792
Members
449,048
Latest member
greyangel23

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