In the following code i need to add the name of the sheet 'SHEET1' so that if i am on any other sheet , the code selects only sheet1 .
Please Login or Register to view this content.
In the following code i need to add the name of the sheet 'SHEET1' so that if i am on any other sheet , the code selects only sheet1 .
Please Login or Register to view this content.
Put
before linePlease Login or Register to view this content.
Please Login or Register to view this content.
let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source
If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE
Walking the tightrope between genius and eejit...
Please Login or Register to view this content.
Add this at the top?
Please Login or Register to view this content.
I'm not really sure what you want.
This code will rename the sheet
Replace mySheet with the name of your sheet.Please Login or Register to view this content.
If you are on a different sheet and want to run the macro on a sheet named "SHEET1", use this code
Alternatively, you can select the sheet byPlease Login or Register to view this content.
Please Login or Register to view this content.
i used the code
this code sends me back to sheet1. i want to keep working on another sheet while the macro keeps running on sheet1.Please Login or Register to view this content.
yea that worked perfectly . also it freezes my sheet for that particular time when the macro of andy 'Speakcells' is running. can something be done about it ?
thanks everyone
You can not use excel whilst code is running.
What exactly are you trying to do? Perhaps a count down of some sort?
yes this is how the code looks now
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks