What do I subsitute or use in a macro to change a sheet reference I selected manually, i.e. Sheets("Sheet1").Select to take the reference in a cell for the sheet name?
Thanks
What do I subsitute or use in a macro to change a sheet reference I selected manually, i.e. Sheets("Sheet1").Select to take the reference in a cell for the sheet name?
Thanks
Hi,
Do you mean you want to rename the active sheet to say the value in cell A1for example??
VBA Noob
_________________________________________
![]()
![]()
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
If that's what you meant then try
![]()
Please Login or Register to view this content.
VBA Noob
No. I want the macro to input data from the active sheet to the sheet name that is identified in cell c4 on the active sheet. I will have a number of sheets with various names which will be identified in C4. Cell C4 and other cells are populated by a dropdown box and manual data entry. That info will be will be transferred the sheet selected in C4 by a enter button. Other sheets will be populated with similar data so the sheet name is the key.
Thanks and sorry for not describing it clearer.
Think you need to give more info.
E.g If say C4 value in activesheet is Sheet2 then what range are you copying and where will it paste to within Sheets??
VBA Noob
Here is the Macro. Just need it to enter on the sheet identified by C4
![]()
Please Login or Register to view this content.
Last edited by VBA Noob; 02-19-2007 at 05:19 PM.
Please wrap your code in future. I've done it on this occassion
Addition's in bold
![]()
Please Login or Register to view this content.
It's obvious I have little knowledge of macros. What do yo mean by wrap code with the # symbol, for Macros or this thread?
Thanks Again!
There is a symbol on the toolbar which looks like a #. When adding code to this site you should click on the symbol and paste your code between
VBA Noob
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks