I got a workbook containing a worksheet called APheb1.
I would like to create a macro that would replicate this worksheet and rename it APheb2, APheb3 etc... till a number i specify. For example if i specify 90, then it would replicate APheb1 90 times till APheb90.
I have recorded a macro that replicates the file but i cannot find a solution for the renaming part.
I have a VBA Code which executes SSIS Package. Before executing that package i need to open the excel sheet saved in C:SSISPackages and rename sheet "SSISP"and then close the sheet..It will not be sheet1 but someother names(cannot guess)..
I have the following code to move/copy worksheet and then copy and paste special values. Is it possible during this process to get the user to change the 'moved' worksheet name ?
I have an excel file which consists of old name and new name in two different columns. I have 500 photos in a folder. I want to rename the photos with the new names when there is a match with the old name(same as that of image name) in the excel.
I have some data which I need to replicate, the data is as follows:-
Club : Name : Competition : Division : labels per round : number of rounds this is in the six columns as above and, perhaps, 900 rows.
What I need to do is to read each record in turn and replicate it by a: the number of "labels per round" then b: the number of rounds, incrementing the round number from 1 to 10 in the process. This would be written to another worksheet.
I have tried to come up with some VBA to do this, but even this simple task would appear to be beyond me in the timescale I have to get it sorted. how to code this or point me to where I can find this out?
I have an excel file (2003 version) with one sheet called sheet1.
On sheet1 I have multiple text boxes, however each text box has the same text box number "Text Box 1244" (this number appears in the top left-hand side in excel when I click the textbox).
I was wondering if it's possible to rename the text boxes based on their location on the sheet.
Eg. If i had a sheet with 5 rows of text boxes and 3 columns of text boxes (15 text boxes in total).
The top left-hand box gets renamed to "Text Box 1", then the text box below that gets renamed to "Text Box 2" and so on to the bottom of the sheet to "Text Box 5". Then the vba script would move to the text box that was to the right of the first text box (1st row again but 2nd column), and rename all the text boxes in that column ("Text Box 6" onward).
I'm stuck on this problem a while now and cannot find any scripts to solve it. My VBA is non-existent, I usually get by on bits of code I find on the web.
I hope each textbox has a hidden co-ordinate associated with it, then it might be possible to loop through all the textboxes based on their positions and rename them.
Is it possible to use a formula to replicate primary and secondary lookup in SQL and is it possible to retrieve data from Excel spreadsheets using SQL.
see the attached "sample.xls". In cell "D1", after I typed in some text and pressed enter, the cell format changed. It only happened for texts not for numbers. There's no macro or conditional format that I could find.
I am tying to build a macro that contains a function to open a closed workbook, create a new tab, select the tab and then paste data into it before closing the workbook.
In a separate macro I will then want to open the workbook again and compare the last two tabs worth of data, to highlight where old data has been removed.
I have several tabs in a workbook that need different names depending on what is selected from a drop down menu on one of the sheets - "Staff Details" sheet. Any clever persons out there able to help?
The pictures' filenames are #s which are located in Column A of the spreadsheet. I would like to be able to have excel take the picture name, lookup which Row it is and then add the information from Column B, C, D and E into the filename. It would need to do it for all the pictures located in the folder.
Is it possible in Excel to automatically rename all the tabs of a workbook in one move in a sequential format - eg renamimg 52 weekly tabs Week 1, Week 2, Week 3 etc.
I need to rename a large number of .pdf files. I have a list of the current file names in column A and the desired file names in column B.
Data in excel sheet1:
Current NameDesired Name AAA-BBB-001.PDFAAA-BBB-001-Description.PDF AAA-BBB-002.PDFAAA-BBB-002-Description.PDF AAA-BBB-003.PDFAAA-BBB-003-Description.PDF AAA-BBB-004.PDFAAA-BBB-004-Description.PDF AAA-BBB-005.PDFAAA-BBB-005-Description.PDF
I keep them in the destination folder below:
C:UsersmeDesktopA
I prefer to use an excel macro since I can't install any additional software on my work computer.
Iīd like to have a single workbook for each calendar year, with a tab for each date Monday through Friday (like 11-Jun, 12-Jun, etc.). I could then type the patients` names and times of arrival, among the other information I track. Alternatively, I could have a workbook for each month of each year (titled for example 2007 June or 2008 August), with the tabs titled by the date of the month (like 1, 4, 10, etc).
Is there an easy way to do this without manually renaming each tab for each day of the year?
If itīs too hard to limit the macro to create tabs for only the days of the workweek, it wouldnīt bother me if the workbook had to include every day of the week (Sunday-Saturday). I can always go back and delete the unnecessary ones.
I mean renaming tabs on the sheets, the tabs at the moment are called Output 1 (*****) instead of Sheet 1 etc.. and i would like that changed to contents in cell A9. If possible only the Output 1 will be removed and it will change to something similar "X-Ray (5E4TT)"
i have a workbook with worksheets named Output 1 (*****)
(the stars being a five digit/letter code - the only thing that changes on the workbook)
now the problem is, i pull of reports and sometimes worksheets can be up to one hundred.. now in cell a9 is the name of the report. I have found vba code to rename sheets to cell contents **extract below**
but any chance of renaming contents of cell a9 to a worksheet named Output 1 (*****) etc.. and if the contents of cell a9 can be trimmed so only certain part of a lengthy title
Sub RenameTabs()
For i = 1 To Sheets.Count If Worksheets(i).Range("A1").Value <> "" Then Sheets(i).Name = Worksheets(i).Range("A1").Value End If Next
In the old Excel it is possible to rename a chart by pressing SHIFT+Mouse Click and then write a new name in the upper left corner name box. You can apparently do the same thing in Excel 2007, but the new name doesn't stick.
I have several (around 35) CSV files that I download regulary. Is there a quick way to rename all the CSV files in a given folder based on adding "Update_" to each file name.
E.g Say two of the orginal files are called:
Monday.csv Tuesday.csv
I'd like to run some kind of macro to rename them to: